-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
EIP-4844: Add blob details to Block class #4570
Comments
This will come in the near future with the sidecar support. But thanks for opening a ticket to track this too. Also, the fields will need to be added to the TransactionResponse and TransactionReceipt. If you have any links to BLOb transactions on Sepolia, that would be quite useful too. Currently, the Transaction object has live fields for the EIP-4844 fields, and support for serializing and inference but will need to add the ability to attach the kzg operations. |
Sure, here's a few type-3 transactions on Sepolia: |
Also adding a link to this issue provided by Tim Beiko: Sepolia Blobscan. |
I've added the fields to the Block, TransactionResponse and TransactionReceipt. I think the kzg will be part of a future minor bump, but would love an extra set of eyes to check on the above commit. :) |
Thank you! The changes in that commit look correct to me. Another Dencun thing to consider adding soon is the |
Thanks! I've added it, along with receiptsRoot and stateRoot, since I'm updating the Block object anyways. |
Excellent, thank you! The receiptsRoot and stateRoot are under-appreciated yet so powerful. |
Completely agree! Originally they weren’t included because some nodes don’t return them (Ganche and other simulation nodes), but it seems safe to add them as “possibly null” values. I will investigate adding a type-guard too for validated Blocks. :) |
hello, just for the sake of completeness, this is the corresponding commit in the API specs with all the changes: ethereum/execution-apis@057892b |
This has been included in v6.11.0. Please try it out and let me know if you have any issues. :) |
Excellent, we're now able to show these details in Otterscan block pages! Thank you again. It's working well. |
Describe the Feature
In addition to blob transactions (added with #4554), EIP-4844 adds
blob_gas_used
andexcess_blob_gas
to block headers. Ethers should allow these to be accessible from the Block class.Code Example
The text was updated successfully, but these errors were encountered: