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: