ApeWorX / ethpm-types

Implementation of EIP-2678
Apache License 2.0
14 stars 8 forks source link

fix: handle defaults in deprecated pydantic methods #129

Closed antazoey closed 2 months ago

antazoey commented 2 months ago

What I did

The deprecated dict() and json() methods did not have any of the default handlings that model_dump() and model_dump_json() did probably should have been added when we switched to pydantic v2

fixes: #116

How I did it

How to verify it

Checklist

antazoey commented 2 months ago

@bitwise-constructs