ApeWorX / ape-alchemy

Alchemy network provider plugin for the Ape Framework
https://www.apeworx.io/
21 stars 13 forks source link

fix: handle pre-merge PoA blocks for Ethereum goerli #37

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

What I did

fixes: #36

How I did it

Add middleware if 0th block needs it rather than latest.

How to verify it

See test.

Checklist

antazoey commented 1 year ago

@helloibis this explains why goerli-fork tests fail in Hardhat and Foundry.

antazoey commented 1 year ago

see https://github.com/ApeWorX/ape-alchemy/pull/38