Feature request: Optimism support
See original GitHub issueHey, pretty new in web3 space, I am wondering - can the eth-gas-reporter support Optimism?
I am not familiar with eth-gas-reporter internals and thought that maybe you can give me initial guidance on what kind of changes are necessary to make it work and the place where to start looking?
Depending on the work required I may try to implement it.
From an initial naive glance it seems we need:
- Separate
gasPrice
ongasPriceL1
, andgasPriceL2
. - Separate
gasUsed
ongasUsedL1
, andgasUsedL2
. - Calculate the calldata size, and derive cost based on
gasPriceL1
andgasUsedL1
. - Leave the rest of the cost to be based on
gasPriceL2
andgasUsedL2
.
About Optimism fees: https://community.optimism.io/docs/developers/l2/new-fees.html#frontmatter-title
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How do I get support? - Optimism
Please join our Discord and submit an issue in the appropriate channel (either #user-support or #dev-support) and a member of the community ...
Read more >Feature request support for Optimism and L2 Ethereum rollups
Currently Ledger does not support any optimistic rollup chain that is based on Ethereum. Examples of rollups with a big user base are...
Read more >Eth_getBlockRange support for Optimism - Feature Requests
Feature Requests. Voters 6. Avatar ... Eth_getBlockRange support for Optimism. Open; Subscribe. I. Isaac Lau. 03-08-2021 - a year ago. A. Comment.
Read more >Optimism Integration - Moralis Web3 Technology AB
Feature requests · Optimism Integration · Activity Newest / Oldest · Web Development.
Read more >Optimism Websockets - Feedback & Feature Requests
Hey, any plans to support websockets on optimism in the near future? ... Adding my +1 for wss:// on Optimism and Polygon. I'd...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
First calculation:
FYI, we just updated the Optimism docs to give more information about how to accurately estimate the current L1 data cost for a given transaction: https://community.optimism.io/docs/developers/build/transaction-fees/#estimating-the-l1-data-fee