eth_call
when forking a remote network
Wrong chain ID on This is a minimal reproduction of a bug that Hardhat >2.7.1 has when forking a remote network.
The chain ID is always the same of the remote network.
How to run it?
npm i
- Add a remote mainnet node url in
hardhat.config.js
npx hardhat run scripts/deploy.js