Timeline for runner object doesn't exist during an event emit testing
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7 at 18:42 | comment | added | jmendiola |
For me, the problem was as simple as I was not providing the Signer to the the contract I was using on even; in your example: .to.emit(myContract, "MyEvent") should be .to.emit(myContract.connect(await ethers.provider.getSigner()), "MyEvent") . I don't think that's the issue you are having, but just in case someone stumble upon the same error, that was my case.
|
|
Jun 28, 2023 at 20:58 | history | edited | Téwa | CC BY-SA 4.0 |
added 959 characters in body
|
Jun 28, 2023 at 8:55 | answer | added | EthanOK | timeline score: 0 | |
S Jun 27, 2023 at 15:04 | review | First questions | |||
Jul 10, 2023 at 20:49 | |||||
S Jun 27, 2023 at 15:04 | history | asked | Téwa | CC BY-SA 4.0 |