hardhat-waffle needs to be imported on hardhat.config.js
marciob opened this issue · 1 comments
marciob commented
At hardhat.config.js step of the web tutorial, it's missing the hardhat-waffler import:
require("@nomiclabs/hardhat-waffle");
Without that line, it will through an error:
TypeError: Cannot read property 'getContractFactory' of undefined