Skip to content

Commit 8fdc8de

Browse files
committed
fix: catch decoding error
1 parent 7952e32 commit 8fdc8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ape/api/transactions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def decode_logs(
245245
try:
246246
event_abi = contract_type.events[log["topics"][0]] # type: ignore
247247
yield from self.provider.network.ecosystem.decode_logs(event_abi, [log])
248-
except (StopIteration, KeyError):
248+
except (StopIteration, KeyError, DecodingError):
249249
try:
250250
yield self.provider.network.ecosystem.decode_ds_note(log) # type: ignore
251251
except (DecodingError, AttributeError):

0 commit comments

Comments
 (0)