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
Our expectEvent helper currently comes in two variants: expectEvent.inLogs and expectEvent.inTransaction. As far as I can tell, we only need one of the two. inTransaction was suggested by @nventuro as the one to keep.
I'd also reconsider whether it should be an async function. It seems like it would make sense as a sync function. We can expect a receipt as the argument and we wouldn't need to await it.
The text was updated successfully, but these errors were encountered:
inLogs should be removed only from module.exports and used internally for inTransaction or it should be removed completely and functionality of inLogs should be added in inTransaction?
Our
expectEvent
helper currently comes in two variants:expectEvent.inLogs
andexpectEvent.inTransaction
. As far as I can tell, we only need one of the two.inTransaction
was suggested by @nventuro as the one to keep.I'd also reconsider whether it should be an async function. It seems like it would make sense as a sync function. We can expect a receipt as the argument and we wouldn't need to
await
it.The text was updated successfully, but these errors were encountered: