We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a52201 commit 0dca645Copy full SHA for 0dca645
1 file changed
src.ts/contract/wrappers.ts
@@ -76,10 +76,12 @@ export class ContractTransactionReceipt extends TransactionReceipt {
76
return super.logs.map((log) => {
77
const fragment = log.topics.length ? this.#iface.getEvent(log.topics[0]): null;
78
if (fragment) {
79
- return new EventLog(log, this.#iface, fragment)
80
- } else {
81
- return log;
+ try {
+ return new EventLog(log, this.#iface, fragment)
+ } catch (error) { }
82
}
83
+
84
+ return log;
85
});
86
87
0 commit comments