Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: exclude valid authorities from the eth_createAccessList result (EIP-7702) #31335

Open
sashabeton opened this issue Mar 7, 2025 · 0 comments · May be fixed by #31336
Open

Feature request: exclude valid authorities from the eth_createAccessList result (EIP-7702) #31335

sashabeton opened this issue Mar 7, 2025 · 0 comments · May be fixed by #31336
Labels

Comments

@sashabeton
Copy link

sashabeton commented Mar 7, 2025

Rationale

Using the eth_createAccessList method when building EIP-7702 transactions would be easier if it excluded authorities from valid authorizations, as they are automatically added to the access list during execution.
Otherwise, clients have to post-process the eth_createAccessList result and manually remove valid authorities to avoid overpaying for unnecessary records in the transaction’s access list.

Implementation

All authorizations passed to the eth_createAccessList method should be processed as follows:

  1. Validate the authorization
  2. Recover the authority address
  3. Mark it as excluded in AccessListTracer

An incomplete pull request implementing this change (lacking DoS protection) is available here:
#31336

@sashabeton sashabeton changed the title eth_createAccessList returns authorities from valid authorizations (EIP-7702) Feature request: exclude valid authorities from the eth_createAccessList result (EIP-7702) Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant