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.
npm i
- Add a remote mainnet node url in
hardhat.config.js
npx hardhat run scripts/deploy.js
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.
npm i
hardhat.config.js
npx hardhat run scripts/deploy.js