Merge pull request #189 from flashbots/overflow-error

Ignore overflow errors on trace decode
This commit is contained in:
Luke Van Seters
2021-12-22 22:49:40 -05:00
committed by GitHub

View File

@@ -38,7 +38,7 @@ class ABIDecoder:
try:
decoded = decode_abi(types, hexstr_to_bytes(params))
except (InsufficientDataBytes, NonEmptyPaddingBytes):
except (InsufficientDataBytes, NonEmptyPaddingBytes, OverflowError):
return None
return CallData(