You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @eth-optimism/contracts package has ethers@^5 as a peer dependency, so the version of ethers will depend on the version you have installed in your project. If you install the latest version of ethers within your project, this should work.
Describe the bug
I was trying to get l1BaseFee using
OVMGasPriceOracle
contract. I have initialized it using the following code:In
formatted
there is a typo in abi structure:ouput
instead ofoutput
which doesn't allow to parse the result of the method callAdditional context
The issue comes actually from ethers.js formatter and they have fixed it here ethers-io/ethers.js#1275 in version 5.0.29
In package json I see ethers.js v 5.0.0 as a dependency. Upgrading it to v 5.0.29 would resolve the issue
The text was updated successfully, but these errors were encountered: