-
Notifications
You must be signed in to change notification settings - Fork 0
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
new blob estimation refactored #71
base: main
Are you sure you want to change the base?
Conversation
debug: remove platform support for arm64 for taiko client docker buil…
…taiko-mono into ms/estimate_gas_log
} | ||
|
||
func getBlobCost(blobs []*eth.Blob, blobBaseFee *big.Int) (*big.Int, error) { | ||
// Each blob costs 1 blob gas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is correct. Gas per blob is 2^17. @smartprogrammer93 Could you verify this function please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right: https://arxiv.org/html/2405.03183v1
The implementation of EIP-4844 introduced a distinct fee market for blob gas, incurred by transactions carrying blobs. Each blob consumes a constant 131,072
No description provided.