You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After discussion w/ @onbjerg – this PR removes the delegation whitelist
check – allowing consumers to use their own delegation contracts.
Existing checks on gas limits to avoid abuse should be sufficient for
now.
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,10 +122,10 @@ Consult the [Kurtosis OP package](https://github.com/ethpandaops/optimism-packag
122
122
123
123
Odyssey has a custom `wallet_` namespace, that allows users to delegate their EOAs to a contract using EIP-7702, and perform transactions on those accounts, all funded by the sequencer.
124
124
125
-
To enable this namespace, set the environment variable `EXP1_SK` to a private key that will sign the transactions, and `EXP1_WHITELIST` to a comma-delimited list of checksummed addresses accounts are allowed to delegate to. The new RPC method, `odyssey_sendTransaction`, will only sign transactions that either:
125
+
To enable this namespace, set the environment variable `EXP1_SK` to a private key that will sign the transactions. The new RPC method, `wallet_sendTransaction`, will only sign transactions that either:
126
126
127
-
1.Delegate accounts to one of the whitelisted addresses using EIP-7702, or
128
-
1. Send transactions to an EIP-7702 EOA that is already delegated to a whitelisted address
127
+
1.Designates a contract address to an EOA via EIP-7702, or
128
+
1. Send transactions to an EIP-7702 EOA that is already delegated to an address
129
129
130
130
The `odyssey_sendTransaction` endpoint accepts the same fields as `eth_sendTransaction`, with these notable exceptions:
131
131
@@ -139,8 +139,6 @@ The following fields are ignored, as they are overwritten internally:
139
139
1.`gasLimit`
140
140
1.`chainId`
141
141
142
-
To get the list of contracts that are whitelisted for `odyssey_sendTransaction`, you can query `wallet_getCapabilities`.
0 commit comments