cgewecke / hardhat-gas-reporter

Gas Usage Analytics for Hardhat
MIT License
404 stars 55 forks source link

Fetch live blobBaseFee from OP Stack GasPriceOracle #222

Closed cgewecke closed 4 months ago

cgewecke commented 4 months ago

Closes #217

Begins reading blobBaseFee from optimism's GasPriceOracle contracts now that it's not fake. At some point (when it becomes available from the Etherscan APIs) we should probably try to hit the eth_blobBaseFee endpoint instead since it doesn't require an API key.

Defaulting to 10 gwei if the call fails.