Events not getting "confirmed" status

I am watching an event, but the objects are not getting “confirmed” even after dozens of blocks have been created after the tx that triggered the event.
Also, if I try to manually set the “confirmed” attribute to true, I get this error: “Cannot read properties of undefined (reading ‘get’)”

Can you try to use an afterSave/beforeSave hook to see if it ever got as confirmed?

Found out what was happening, there was a beforeSave code that was failing…maybe its best to always use an AfterSave unless I absolutely need to use beforeSave

1 Like