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
commit 2768428eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(