feat(api): implement eth_baseFee JSON-RPC method#10457
Open
wjmelements wants to merge 2 commits into
Open
Conversation
Contributor
|
@wjmelements is there a spec for this method? Also DCO check is failing, you need to add signoff to your git commits |
Author
No. I am simultaneously attempting to add it to execution-specs. The several places that I have found it only disagree on how to handle pre-London return; nil is most popular, matching eth_blobBaseFee, but I have found one place (ethermint, aka cosmos evm) that returns 0 instead. 0 would have been my choice but I didn't invent this method. |
Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: William Morriss <wjmelements@gmail.com>
Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: William Morriss <wjmelements@gmail.com>
This was referenced May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR description
Adds nonstandard
eth_baseFeerpc method.This method is similar to
eth_blobBaseFee, and is implemented in erigon and in some third party RPC providers.Thanks for sending a pull request! Have you done the following?
doc-change-requiredlabel to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew spotlessApply./gradlew build./gradlew acceptanceTest./gradlew integrationTest./gradlew ethereum:referenceTests:referenceTests