Skip to content

Commit

Permalink
chore: pydantic 2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 8, 2023
1 parent 401d27d commit 5302de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/conversion/test_encode_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5302de3

Please sign in to comment.