This project demonstrates deploying to the calibrationnet
with 2 outcomes:
- breaks: using a run script
- works: using
hardhat-deploy
plugin
npx hardhat test
npx hardhat run --network calibrationnet scripts/deploy.ts
This execution breaks with the error:
ProviderError: wrong param count (method 'eth_estimateGas'): 2 != 1
This uses the hardhat-deploy
plugin.
npx hardhat deploy --network calibrationnet
This deploys successfully.
npm run lint:check:format
npm run lint:fix:format