You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Throws and error when running a local hardhat node with forked mainnet
Reproduction steps
npx hardhat node
npm run test --network localhost
Error: Smock is only compatible with the "hardhat" network, got: localhost. Follow this issue for more info:
https://github.com/defi-wonderland/smock/issues/29
at Function.create (node_modules/@defi-wonderland/smock/src/sandbox.ts:58:13)
at init (node_modules/@defi-wonderland/smock/src/index.ts:27:27)
at Object.mock (node_modules/@defi-wonderland/smock/src/index.ts:21:23)
The text was updated successfully, but these errors were encountered:
Describe the bug
Throws and error when running a local hardhat node with forked mainnet
Reproduction steps
npx hardhat node
npm run test --network localhost
The text was updated successfully, but these errors were encountered: