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

eth/tracers/logger, internal/ethapi: exclude valid authorities from access list when calling eth_createAccessList #31336

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sashabeton
Copy link

@sashabeton sashabeton commented Mar 7, 2025

closes #31335

@sashabeton sashabeton changed the title Exclude valid authorities from access list when calling eth_createAccessList core/types, internal/ethapi: exclude valid authorities from access list when calling eth_createAccessList Mar 10, 2025
@sashabeton sashabeton changed the title core/types, internal/ethapi: exclude valid authorities from access list when calling eth_createAccessList eth/tracers/logger, internal/ethapi: exclude valid authorities from access list when calling eth_createAccessList Mar 10, 2025
@sashabeton
Copy link
Author

I suppose authorization list length should be limited to prevent DoS.
However, I'm not sure about the implementation. Should we use msg.GasLimit to calculate max possible authorizations? Should we pass msg.GasLimit - len(authList) * params.CallNewAccountGas to core.ApplyMessage function?

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.

Feature request: exclude valid authorities from the eth_createAccessList result (EIP-7702)
1 participant