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 raw L1 gas cost per tx #7

Open
stefment opened this issue Dec 9, 2021 · 0 comments
Open

Add raw L1 gas cost per tx #7

stefment opened this issue Dec 9, 2021 · 0 comments

Comments

@stefment
Copy link

stefment commented Dec 9, 2021

For example zkSync uses about 400 L1 gas per transaction and optimistic rollups use about 4000 L1 gas per transaction. It could be interesting to know for people who are choosing a rollup or just starting out their research

sources: https://zksync.io/faq/tokens.html
" for every zkSync block, the validator must pay Ethereum gas to verify the SNARK, plus additionally ~0.4k gas per transaction to publish the state"

https://community.optimism.io/docs/users/fees-2.0.html#frontmatter-title
"l1GasUsed is calculated as 1.5*(2750 gas + calldataGas)"

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

No branches or pull requests

1 participant