Add new test case for EIP712
This commit is contained in:
37
tests/ragger/eip712/input_files/13-empty_arrays-data.json
Normal file
37
tests/ragger/eip712/input_files/13-empty_arrays-data.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Empty Arrays",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
"message": {
|
||||
"list1": [],
|
||||
"list2": [],
|
||||
"list3": [
|
||||
[
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"3",
|
||||
"4"
|
||||
]
|
||||
]
|
||||
},
|
||||
"primaryType": "Struct",
|
||||
"types": {
|
||||
"EIP712Domain": [
|
||||
{ "name": "name", "type": "string" },
|
||||
{ "name": "version", "type": "string" },
|
||||
{ "name": "chainId", "type": "uint256" },
|
||||
{ "name": "verifyingContract", "type": "address" }
|
||||
],
|
||||
"Struct": [
|
||||
{ "name": "list1", "type": "EIP712Domain[]" },
|
||||
{ "name": "list2", "type": "uint8[]" },
|
||||
{ "name": "list3", "type": "string[][]" }
|
||||
]
|
||||
}
|
||||
}
|
||||
4
tests/ragger/eip712/input_files/13-empty_arrays.ini
Normal file
4
tests/ragger/eip712/input_files/13-empty_arrays.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[signature]
|
||||
v = 1b
|
||||
r = 5d0635a868602e29366da6328f8fadf2d6a9b4e69ee7a65928e85ca56fb1b515
|
||||
s = 257364d6faaf5687edf90c3984f4240b0ce7b2dee55aa1f8f39c32d0d4d8c93d
|
||||
Reference in New Issue
Block a user