Skip to content

Remove minimum gas enforcement while creating Accesslist#1773

Merged
lucca30 merged 3 commits intodevelopfrom
lmartins/enforce-zero-gas-accesslist
Sep 17, 2025
Merged

Remove minimum gas enforcement while creating Accesslist#1773
lucca30 merged 3 commits intodevelopfrom
lmartins/enforce-zero-gas-accesslist

Conversation

@lucca30
Copy link
Copy Markdown
Contributor

@lucca30 lucca30 commented Sep 17, 2025

Description

Because our minimum gas enforcement like the one at PIP-35, the accesslist creation was including this gas when calculating it. By doing that, addresses with no fund were not able to calculate access list via eth_createAccessList receiving responses like insufficient funds for gas * price + value.

This PR handles this by enforcing 0 gas while calculating the accesslist.

Changes

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Changes only for a subset of nodes

@cffls
Copy link
Copy Markdown
Contributor

cffls commented Sep 17, 2025

Look good! Is it possible to add a unit test to verify the fix?

@lucca30
Copy link
Copy Markdown
Contributor Author

lucca30 commented Sep 17, 2025

tests done @cffls

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@cffls cffls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@lucca30 lucca30 merged commit a80d611 into develop Sep 17, 2025
12 checks passed
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.

3 participants