-
Notifications
You must be signed in to change notification settings - Fork 553
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
ExtraDataLengthError when querying polygon-main-fork #1217
Comments
I got the same problem on Optimism |
I'm a bit confused that this is still happening. This code should be injecting the middleware automatically: https://github.com/eth-brownie/brownie/blob/4b134d4be9d3dde14f93f389cef9651910c9520e/brownie/network/middlewares/geth_poa.py |
Aha! It doesn't happen automatically because if the "latest" block is a local block and not a remote block, it doesn't raise an exception. And it looks like ganache sometimes adds a block for some reason. Not sure why they do that yet. |
It is still a problem, and the #1493 is indeed fix that. Why is it not merged for 2 years? |
Environment information
brownie
Version: 1.16.1ganache-cli
Version: 6.12.2What was wrong?
Works:
Errors:
I beleive some other commands will fail with the same error
How can it be fixed?
I'm not sure. Maybe the suggested middleware will work
The text was updated successfully, but these errors were encountered: