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

add feature for ignoring base fee check #436

Merged
merged 1 commit into from Mar 29, 2023

Conversation

Rjected
Copy link
Collaborator

@Rjected Rjected commented Mar 28, 2023

This is analogous to the geth EVM NoBaseFee option:
https://github.com/ethereum/go-ethereum/blob/ee8e83fa5f6cb261dad2ed0a7bbcde4930c41e6c/core/vm/interpreter.go#L30

Which is used in eth_call and other RPCs that make calls, since they may have a gas price of zero:
https://github.com/ethereum/go-ethereum/blob/ee8e83fa5f6cb261dad2ed0a7bbcde4930c41e6c/internal/ethapi/api.go#L985

@gakonst
Copy link
Collaborator

gakonst commented Mar 28, 2023

Seems reasonable

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm,
Will refactor this in future to separate tx validity check from other things, it would make this a lot easier to do.

will merge after CI goes green

@rakita rakita merged commit c2ee8ff into bluealloy:main Mar 29, 2023
3 checks passed
grantkee pushed a commit to layer-g/revm that referenced this pull request Apr 5, 2023
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.

None yet

3 participants