-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also adapted existing EIP-712 filters test files
- Loading branch information
1 parent
6663f61
commit b26d1b8
Showing
7 changed files
with
149 additions
and
36 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
{ | ||
"name": "Test JSON", | ||
"fields": { | ||
"from.name": "From", | ||
"to.name" : "To" | ||
"from.name": { | ||
"type": "raw", | ||
"name": "From" | ||
}, | ||
"to.name": { | ||
"type": "raw", | ||
"name": "To" | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
{ | ||
"name": "OpenSea", | ||
"fields": { | ||
"maker": "Maker", | ||
"taker": "Taker", | ||
"basePrice": "Base Price", | ||
"expirationTime": "Expiration Time" | ||
"maker": { | ||
"type": "raw", | ||
"name": "Maker" | ||
}, | ||
"taker": { | ||
"type": "raw", | ||
"name": "Taker" | ||
}, | ||
"basePrice": { | ||
"type": "raw", | ||
"name": "Base Price" | ||
}, | ||
"expirationTime": { | ||
"type": "raw", | ||
"name": "Expiration Time" | ||
} | ||
} | ||
} | ||
} |
22 changes: 17 additions & 5 deletions
22
tests/ragger/eip712_input_files/11-complex_structs-filter.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
{ | ||
"name": "Depthy Test", | ||
"fields": { | ||
"contents": "Message", | ||
"from.name": "Sender", | ||
"to.members.[].name": "Recipient", | ||
"attach.list.[].name": "Attachment" | ||
"contents": { | ||
"type": "raw", | ||
"name": "Message" | ||
}, | ||
"from.name": { | ||
"type": "raw", | ||
"name": "Sender" | ||
}, | ||
"to.members.[].name": { | ||
"type": "raw", | ||
"name": "Recipient" | ||
}, | ||
"attach.list.[].name": { | ||
"type": "raw", | ||
"name": "Attachment" | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
{ | ||
"name": "Ethereum sign-in", | ||
"fields": { | ||
"curDate": "Timestamp", | ||
"id": "Identifier" | ||
"curDate": { | ||
"type": "raw", | ||
"name": "Timestamp" | ||
}, | ||
"id": { | ||
"type": "raw", | ||
"name": "Identifier" | ||
} | ||
} | ||
} | ||
} |