Have read the scalars from Optimism's GasOracle and updated the constants file with them. (They're nothing like what docs said they'd be couple weeks ago?)
The oracle's blobBaseFee is coming back as 1 which results in ~10% inflation of the observed cost on Etherscan - am returning a hardcoded .1 to compensate because there's no other info source atm.
When the real price is available from an endpoint, will need to update to fetch it.
Pinning viem to 2.7.4 temporarily in this PR because the internal types seem like they have a lot of changes from minor to minor version. We're using their utils.
TODO:
Make sure L1 baseFee is changed to L1 blobBaseFee in the tables.
214
(Thought this was going live on the 18th per #174 but it was moved ahead at some point.)
Issues
eth_blobBaseFee
isn't available from the Etherscan APIeth_feeHistory
from Alchemy does not includebaseFeePerBlobGas
The endpoints are being added in a PR at geth: https://github.com/ethereum/go-ethereum/pull/29140 and scheduled for the 1.14.0 release
Test with:
Current Response
Update
blobBaseFee
is coming back as1
which results in ~10% inflation of the observed cost on Etherscan - am returning a hardcoded.1
to compensate because there's no other info source atm.viem
to 2.7.4 temporarily in this PR because the internal types seem like they have a lot of changes from minor to minor version. We're using their utils.TODO: