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
I guess because of the different Event format expected. In concrete, Event names are expected to be the array keys (which are not: they are _item_.event), and args are expected to be _item.returnValues (I have _item_.args instead)
I attach here a sample of the transaction receipt I get:
expectEvent()
is not capturing an expected event (SmartContract is correct and tested in other ways)in expectEvent() I has to put:
instead of:
I guess because of the different Event format expected. In concrete, Event names are expected to be the array keys (which are not: they are
_item_.event
), and args are expected to be_item.returnValues
(I have_item_.args
instead)I attach here a sample of the transaction receipt I get:
My environment:
The text was updated successfully, but these errors were encountered: