Skip to content

Conversation

@snissn
Copy link
Contributor

@snissn snissn commented Oct 31, 2025

EIP-7702 defines a new EIP-2718 transaction type (0x04) that includes an authorization_list. Each authorization is a signed tuple from an EOA (the "authority") designating a smart contract (the "delegate") to execute on its behalf.

This FIP adapts EIP-7702 to the FEVM architecture. The implementation introduces a new method, ApplyAndCall, in the EVM actor. This method atomically processes the authorization list—validating signatures, updating the delegation mapping, and incrementing authority nonces—and then executes the outer transaction call. The FEVM interpreter is updated to recognize these delegations: when a CALL targets a delegated EOA, the interpreter executes the delegate's code within the authority's context. This implementation ensures that delegation mappings and nonce increments persist even if the outer transaction call reverts, adhering to the EIP's specified atomicity model.

Discussion: #1143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants