Closed pacrob closed 1 year ago
The former encode_structured_data, Mask, and even the original EIP expect the message to be a single json object/python dict.
encode_structured_data
encode_typed_data
[x] Clean up commit history
[x] Add or update documentation related to these changes
[x] Add entry to the release notes
I strongly feel like we should combine these single json file test cases
Done! And I learned that pytest will easily parametrize a dict and use the keys for the test id.
What was wrong?
The former
encode_structured_data
, Mask, and even the original EIP expect the message to be a single json object/python dict.How was it fixed?
encode_typed_data
with 3 args provides the same result as with 1 argTodo:
[x] Clean up commit history
[x] Add or update documentation related to these changes
[x] Add entry to the release notes
Cute Animal Picture