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
Upgrading to waffle v4 seems not to work.
same setup that works in v3 returns an error "Mock on the method is not initialized" with v4
To Reproduce
use hardhat
mock contract + function
try to call to call contract.mockedFunction()
Software versions
ethereum-waffle 4.04
@nomiclabs/hardhat-ethers 2.2.1
hardhat 2.6.1
Package manager yarn
Node version 18
The text was updated successfully, but these errors were encountered:
Describe the bug
Upgrading to waffle v4 seems not to work.
same setup that works in v3 returns an error "Mock on the method is not initialized" with v4
To Reproduce
use hardhat
mock contract + function
try to call to call contract.mockedFunction()
Software versions
ethereum-waffle
4.04@nomiclabs/hardhat-ethers
2.2.1hardhat
2.6.1The text was updated successfully, but these errors were encountered: