Skip to content
Crypto.world

The Ledger

Ethereum Draft Would Permanently Bar EIP-7702 Delegation

A draft Ethereum proposal would let an account permanently opt out of EIP-7702 delegation by installing a non-executable code marker. The account would retain its address and ability to originate ordinary transactions, while the marker and proposed gas cost remain open for review.

Ethereum Draft Would Permanently Bar EIP-7702 Delegation

A draft Core Ethereum Improvement Proposal would let an externally owned account (EOA) permanently disable EIP-7702 delegation while keeping its address and ability to originate ordinary transactions. The proposal uses a non-executable account-code marker to prevent future delegation authorizations from replacing or clearing the opt-out. Its author, nicolashw, says the idea is intended for accounts such as institutional wallets, exchange hot wallets and treasuries whose operational controls may assume delegated execution is unavailable.

“The benefit is limited to removing delegation capability.”

nicolashw, proposal author

A constrained type-4 transaction sets the marker

The opt-out uses a type-4, or set-code, transaction form that is invalid under EIP-7702’s current rules: one with an empty authorization list. The proposal limits the exception to a self-addressed transaction with zero value, empty data and an empty access list. Other empty-authorization-list forms would remain invalid. The transaction would install the candidate marker 0xef0200, charge a fixed 33,500 gas and execute no EVM code.

The marker is three bytes, and the draft requires an exact match. It extends the EIP-3607 sender exception so an account carrying precisely that code can still originate transactions. Calls to a marked account would execute as empty code, while code-inspection operations would see the raw marker. The proposal also says existing delegation would be replaced without executing its code.

Delegation is disabled, not the private key

EIP-7702 lets an EOA use a type-4 transaction and signed authorization tuples to set a delegation indicator pointing to code at another address. Under EIP-7702, an authorization can also clear delegation by specifying the zero address. The draft’s marker would block subsequent authorizations for the marked account, including one intended to clear delegation, because the account would fail the code-eligibility check.

The draft describes the opt-out as a way to remove delegated execution, not protection against private-key compromise. A key holder could still sign ordinary transactions and transfer funds; the pull-request author also notes that a compromised key could authorize approvals or other malicious actions. The account keeps ordinary transaction capabilities, but it cannot later use an EIP-7702 authorization to restore delegation if the proposal’s rules are adopted.

Marker and gas charge remain open questions

The proposed 0xef0200 marker is provisional. The draft raises a possible overlap with the 0xef02 namespace discussed in EIP-8141 and notes that EIP-7851 and EIP-8164 use nearby 0xef0101 formats. It asks which prefix the opt-out should use and whether a constrained empty-list type-4 transaction is preferable to a dedicated transaction type.

The 33,500-gas charge is also proposed, not benchmarked. The proposal presents it as a question for review rather than a result from executed client benchmarks. It flags possible interactions with EIP-8151 and with wallets or contracts that classify accounts by empty code. Wallets and signers would need to recognize the special transaction, whose effect is irreversible under the proposal.

The submission has no EIP number

The pull request is open, and the proposal has no assigned EIP number. The draft says it adds no new transaction type, opcode or storage slot, but changes the handling of a narrowly specified type-4 transaction and extends the sender-code exception. These details are presented for protocol and implementation review; the submission is an initial proposal, not a request for inclusion in a network upgrade.

If adopted as written, the proposal would offer a permanent way for an account to reject EIP-7702 delegation while retaining its address and ordinary transaction origination. Its marker, gas charge and compatibility questions remain subject to review.

Sources

  1. Original source Ethereum Improvement Proposals on GitHub github.com

Other pages read

  1. Fellowship of Ethereum Magicians ethereum-magicians.org
  2. Ethereum Improvement Proposals eips.ethereum.org

Related stories

Explore

More articles