I’m implementing OpenZeppelin’s PullPayment (4.0.0) contract.
Unfortunately, during testing I’m always getting
AssertionError: Expected event "Deposited" to be emitted, but it wasn't Also the Withdrawn event doesn’t get emitted. But _asyncTransfer seems to run properly as
I checked my ABI and it seems the contract is compiled correctly.
I’m using Hardhart with Waffle, Chai, Mocha, Ethers.js.