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

Provide more information on estimation transaction costs #717

Closed
m-e-m-f-i-s-19 opened this issue Sep 4, 2024 · 0 comments · Fixed by #718
Closed

Provide more information on estimation transaction costs #717

m-e-m-f-i-s-19 opened this issue Sep 4, 2024 · 0 comments · Fixed by #718
Labels
bug Something isn't working

Comments

@m-e-m-f-i-s-19
Copy link

Describe the bug

Lack of information on how to estimate transaction costs since the Linea is L2. This https://docs.linea.build/developers/guides/gas/gas-fees is not enough. Transactions not submitted or wait too long.

Steps to reproduce

Formula: gasPrice * estimatedGasUsed (neither eth_estimateGas or linea_estimateGas) often doesn't work.

Expected behavior

More detailed description or example how to calculate transaction costs. Provide accurate formula and the data sources for the formula parameters. Eg.:
txFee = gasPrice * estimatedGasUsed
gasPrice - pick from eth_gasPrice or gasPrice = l2GasPrice + baseFee etc
estimatedGasUsed - pick from eth_estimateGas or linea_estimateGas
or something like that.

Link

No response

@m-e-m-f-i-s-19 m-e-m-f-i-s-19 added the bug Something isn't working label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant