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 support for eth_blobBaseFee RPC endpoint #3309

Closed
acolytec3 opened this issue Mar 9, 2024 · 7 comments · Fixed by #3436
Closed

Add support for eth_blobBaseFee RPC endpoint #3309

acolytec3 opened this issue Mar 9, 2024 · 7 comments · Fixed by #3436

Comments

@acolytec3
Copy link
Contributor

acolytec3 commented Mar 9, 2024

There's a new blobBaseFee RPC endpoint in the execution API specs and we should add support for it.

@holgerd77
Copy link
Member

You've linked the Wormhole Airdrop (could be worse). 😂 😂 😂

@acolytec3
Copy link
Contributor Author

You've linked the Wormhole Airdrop (could be worse). 😂 😂 😂

🤫 It's my secret master plan to get us free tokens!

@roninjin10
Copy link
Collaborator

Nice came looking for this. I had no idea how to calculate the blob base fee.

@acolytec3
Copy link
Contributor Author

acolytec3 commented May 21, 2024

It's a pretty trivial addition as we already have the code for it (I think in block). Just need to expose it via the rpc. I just need to take the time to build it out

@roninjin10
Copy link
Collaborator

Oh I see it does exist on block/common just not named baseFee

getBlobGasPrice(): bigint {

@acolytec3
Copy link
Contributor Author

@roninjin10 PR in flight. It's pretty trivial but might do some additional test cleanup before we merge. But this gives you an idea of how to implement it using our code if you want to add something similar in tevm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants