diff --git a/tests/core/utilities/test_construct_event_data_set.py b/tests/core/utilities/test_construct_event_data_set.py index 6e5a56bf70..0ffd49d0a1 100644 --- a/tests/core/utilities/test_construct_event_data_set.py +++ b/tests/core/utilities/test_construct_event_data_set.py @@ -133,7 +133,7 @@ def test_construct_event_data_set_strict(w3, arguments, expected): ), ( {"arg0": b"131414"}, - ValueOutOfBounds, + EncodingTypeError, ), ( {"arg0": b"13"}, diff --git a/tests/core/utilities/test_construct_event_topics.py b/tests/core/utilities/test_construct_event_topics.py index bdb2d5f608..4cb7020b56 100644 --- a/tests/core/utilities/test_construct_event_topics.py +++ b/tests/core/utilities/test_construct_event_topics.py @@ -155,7 +155,7 @@ def test_construct_event_topics_non_strict(w3_non_strict_abi, arguments, expecte ), ( {"arg0": [""]}, - EncodingTypeError, + ValueOutOfBounds, ), ), )