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
TypeError: Cannot read property 'from' of undefined
at addGasToAbiMethodsIfNecessary (node_modules/@nomiclabs/hardhat-ethers/src/helpers.ts:313:30)
at getContractFactoryByAbiAndBytecode (node_modules/@nomiclabs/hardhat-ethers/src/helpers.ts:254:27)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
If I try to yarn add ethers, the error changes to this:
TypeError: provider._init is not a function
at exports.smockit (node_modules/@eth-optimism/smock/src/smockit/smockit.ts:22:35)
It seems to be related to a conflict in both library ethers versions or BigNumber. If the bug is not related to hardhat-gas-reporter, I'll report to smockit instead.
The text was updated successfully, but these errors were encountered:
When both are specified in hardhat.config.js
using version 1.0.4
It's impossible to create mocks like this:
Error:
If I try to yarn add ethers, the error changes to this:
It seems to be related to a conflict in both library ethers versions or BigNumber. If the bug is not related to hardhat-gas-reporter, I'll report to smockit instead.
The text was updated successfully, but these errors were encountered: