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

new blob estimation refactored #71

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

Conversation

mskrzypkows
Copy link

No description provided.

mskrzypkows and others added 30 commits February 6, 2025 10:18
debug: remove platform support for arm64 for taiko client docker buil…
packages/taiko-client/proposer/tx_cost_calculator.go Outdated Show resolved Hide resolved
}

func getBlobCost(blobs []*eth.Blob, blobBaseFee *big.Int) (*big.Int, error) {
// Each blob costs 1 blob gas

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?

Copy link
Author

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

@mskrzypkows mskrzypkows marked this pull request as ready for review February 8, 2025 12:07
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.

5 participants