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(eth): add eth_blobBaseFee #3528

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

DavidRomanovizc
Copy link
Contributor

What was wrong?

Related to Issue #3527
Closes #3527

How was it fixed?

  • Support added for eth_blobBaseFee
  • Async support added for eth_blobBaseFee

While running tests, the TestEthereumTesterEthModule raise that the RPC method eth_blobBaseFee is unknown. It seems like updating eth-tester might resolve the issue, but I am not entirely certain.

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

image

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

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

Hey @DavidRomanovizc. Thanks for the submission. I added a small note but I can also add tests here and address any issues with the tester provider. Are you OK with me picking this up and merging?

Fetches the expected base fee for blobs in the next block.
* Delegates to ``eth_blobBaseFee`` RPC Method

Returns the expected base fee in wei, represented as a hexadecimal.
Copy link
Collaborator

Choose a reason for hiding this comment

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

represented as a hexadecimal.

This may be true of the JSON-RPC spec, but the library returns the formatted value as an integer. Perhaps we can leave this simpler, borrowing from the max_priority_fee_per_gas description. We also need a blank line between the first sentence and the bullet (*) in order to render the docs properly.

Fetches the expected base fee for blobs in the next block.

  • Delegates to eth_blobBaseFee RPC Method

Returns the expected blob base fee in Wei.

This renders well

Screenshot 2024-11-14 at 10 54 25

Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds reasonable. I'll fix it

@DavidRomanovizc
Copy link
Contributor Author

DavidRomanovizc commented Nov 14, 2024

Hey @DavidRomanovizc. Thanks for the submission. I added a small note but I can also add tests here and address any issues with the tester provider. Are you OK with me picking this up and merging?

OK

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.

Add RPC method eth_blobBaseFee
2 participants