Closed 5h4z4mm closed 2 years ago
Thanks for the PR!
Cosmetic update - error message format updated. Updated error message looks like,
unable to generate smock spec from contract name.
HH701: There are multiple artifacts for contract "Storage", please use a fully qualified name.
Please replace Storage for one of these options wherever you are trying to read its artifact:
test/contracts/watchable-function-logic/Storage.sol:Storage
test/contracts/watchable-function-logic/StorageDuplicate.sol:Storage
Description Return Hardhat errors if ethers interface creation fails when setting up fake contract.
Before change - generic error returned
After change - Hardhat error message returned Example: When incorrect / non-existent contract name is used to create a fake.