Skip to content

Commit

Permalink
convert dataclasses to tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
sentilesdal committed Dec 16, 2023
1 parent 5edf7c1 commit 424b83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypechain/templates/contract.py/contract.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class {{contract_name}}Contract(Contract):

"""

return super().constructor({{constructor.input_names|join(', ')}})
return super().constructor({{constructor.input_names | wrap_with_dataclass_to_tuple | join(', ')}})


@classmethod
Expand Down

0 comments on commit 424b83c

Please sign in to comment.