Skip to main content
5 events
when toggle format what by license comment
Apr 26, 2024 at 13:08 history bounty awarded CommunityBot
Apr 24, 2024 at 13:37 vote accept Zartaj Afser
Apr 18, 2024 at 17:30 comment added Zartaj Afser Thanks mate, I tried to manually push the error but the interface array is non-extensible by default hence getting this error : TypeError: Cannot add property 49, object is not extensible . Let me know if you are aware of any workaround. Additionally, this is the working code for me (for ethers V6): contract.interface.fragments.push(ethers.ErrorFragment.from('FailedCall()'));
Apr 18, 2024 at 14:07 history edited tenbits CC BY-SA 4.0
deleted 23 characters in body
Apr 18, 2024 at 14:00 history answered tenbits CC BY-SA 4.0