From 5302de37dcbfcbd106229a08e78e28344cf066c7 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 8 Dec 2023 16:25:09 -0600 Subject: [PATCH] chore: pydantic 2 update --- tests/functional/conversion/test_encode_structs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/conversion/test_encode_structs.py b/tests/functional/conversion/test_encode_structs.py index c113cbd3e4..0dd0698a96 100644 --- a/tests/functional/conversion/test_encode_structs.py +++ b/tests/functional/conversion/test_encode_structs.py @@ -81,7 +81,7 @@ def test_encode_structs_as_dict_with_unconverted(sender, ethereum): def test_encode_structs_as_object_with_unconverted(sender, ethereum): normal_data: Struct = DATA_BY_TYPE_KEY["object"] # type: ignore[assignment] - data = normal_data.copy() + data = normal_data.model_copy() data.d = sender actual = ethereum.encode_calldata(ABI, normal_data) assert actual == EXPECTED