-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: EIP712Domain data is not encoded as specified in
types
of …
…JSON (fix #343) (#344) Solution: Fix to encode EIP712Domain as a normal struct. According to eth-sig-util test case, EIP712Domain must be existing in types. Fix function get_sub_struct_names to get sub-struct names from parameter type Array, FixedArray and Tuple which could also include a Struct type (only get from Struct before). Fix to call BTreeSet::insert to save sub-struct names (a silly bug).
- Loading branch information
1 parent
3082400
commit e386d07
Showing
6 changed files
with
246 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.