Closed gcc2ge closed 9 months ago
We want to check for 0 because if the chain ever was PoA, this middleware is needed.
The actual issue is the get_block
fails in a different error than the one we want to catch to add the middlware. Note: you wouldn't be hitting this issue if you were using the ape-alchemy
plugin instead of using geth to connect to Alchemy. Nonetheless, I can fix the bug!
the bug is actually in the upstream provider, the core Geth plugin so that fix-PR is against core. Thank you for raising this issue btw!
Environment information
ape
and plugin versions:ape-config.yaml
What went wrong?
Please include information like: command: ape console --network ethereum:goerli-fork:foundry
error output:
How can it be fixed?
Fill this in if you have ideas on how the bug could be fixed.
fix:
ape_foundry/provider.py", line 952, in connect