waffle deploy v.s. ethers deploy
deploy using waffle
from contract: calling transferFrom
from contract: finish transferFrom
1) should have correct call count
deploy using ethers
from contract: calling transferFrom
from contract: finish transferFrom
✔ should have correct call count
...
198 passing (7s)
3 pending
1 failing
1) waffle deploy v.s. ethers deploy
deploy using waffle
should have correct call count:
AssertionError: expected transferFrom to have been called exactly once, but it was called 12 times
Describe the bug It seems that
Reproduction steps Please see https://github.com/alxiong/smock/commit/ddbb962d5fe5755d5033a3590c75d2a04a17e445 for a demo to reproduce.
For quick view:
contracts:
Tests:
std.err Output