Modified all the nominal eip712 test input files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Simple Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 1337,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Addresses Array Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Recipients Array Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Long String Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
"message": {
|
||||
"contents": "Hello, Bob! 012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012312345678012345678012345678012345678012344444444444444444444123456780123456780123456780123456780123456780123456780123456789999999999999999999999999999990123456789",
|
||||
"contents": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fermentum interdum tortor, nec elementum enim dignissim ac. Proin at leo sit amet nisl ultrices mollis quis a nunc. Aliquam lobortis a libero non lobortis. Morbi elementum eleifend ante et malesuada. Proin eget fermentum risus. Vestibulum cursus dignissim mollis. In viverra, mi ac accumsan elementum, tellus metus dictum nisi, vel tincidunt odio erat in odio. Aenean nec lorem auctor, tempor ante eget, aliquet purus. Donec fringilla felis iaculis, venenatis ligula egestas, dignissim orci. Aliquam id rhoncus ante, cursus consectetur mauris. Nunc porttitor urna urna, et tristique eros maximus vestibulum. Curabitur pretium a est non porttitor. Cras mollis efficitur sem ut porta. Proin commodo volutpat iaculis. Maecenas ut nulla mi. Aenean ultrices sollicitudin enim, non luctus magna efficitur et. Sed varius sem odio, in sodales erat porta in. Nunc blandit finibus maximus. Mauris nunc tellus, interdum non laoreet sed, aliquet non.",
|
||||
"from": {
|
||||
"name": "Cow",
|
||||
"wallets": [
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Long Bytes Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
"message": {
|
||||
"contents": "0x1123456789123456789123453678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678991234567892345678991234567892345678991234567892345678991234567892345678991234567892345678912345678923456789",
|
||||
"contents": "0x11223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900",
|
||||
"from": {
|
||||
"name": "Cow",
|
||||
"wallets": [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Signed Ints test",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Boolean test",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Fixed bytes test",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
"message": {
|
||||
"val" : "0x973bb640"
|
||||
"val1": "0xae",
|
||||
"val4": "0x973bb640",
|
||||
"val8": "0xac3608fa074a22a0",
|
||||
"val16": "0x24e62129cc3ed3df6f8f3cd1e95b812a",
|
||||
"val32": "0xb5d679d10bf948280080e802ce9fde218b0f8c442c47bf4ab05657d8da04d1da"
|
||||
},
|
||||
"primaryType": "Test",
|
||||
"types": {
|
||||
@@ -17,7 +21,11 @@
|
||||
{ "name": "verifyingContract", "type": "address" }
|
||||
],
|
||||
"Test": [
|
||||
{ "name": "val", "type": "bytes4" }
|
||||
{ "name": "val1", "type": "bytes1" },
|
||||
{ "name": "val4", "type": "bytes4" },
|
||||
{ "name": "val8", "type": "bytes8" },
|
||||
{ "name": "val16", "type": "bytes16" },
|
||||
{ "name": "val32", "type": "bytes32" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,29 +1,21 @@
|
||||
{
|
||||
"types": {
|
||||
"EIP712Domain": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "name"
|
||||
}
|
||||
{ "name": "name", "type": "string" },
|
||||
{ "name": "version", "type": "string" },
|
||||
{ "name": "chainId", "type": "uint256" },
|
||||
{ "name": "verifyingContract", "type": "address" }
|
||||
],
|
||||
"LDPSigningRequest": [
|
||||
{
|
||||
"type": "string[3][]",
|
||||
"name": "document"
|
||||
},
|
||||
{
|
||||
"type": "string[][4]",
|
||||
"name": "proof"
|
||||
},
|
||||
{
|
||||
"type": "uint8[][][][]",
|
||||
"name": "depthy"
|
||||
}
|
||||
"Test": [
|
||||
{ "type": "uint8[][][][]", "name": "depthy" }
|
||||
]
|
||||
},
|
||||
"primaryType": "LDPSigningRequest",
|
||||
"primaryType": "Test",
|
||||
"domain": {
|
||||
"name": "Eip712Method2021"
|
||||
"chainId": 1,
|
||||
"name": "Depth Test",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
"message": {
|
||||
"depthy": [
|
||||
@@ -36,57 +28,15 @@
|
||||
[
|
||||
"3"
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
"4",
|
||||
"5",
|
||||
"6"
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
"document": [
|
||||
[
|
||||
"<did:key:z6MkgFneaaMjN6zybqLNXgt4YfmVx2XZhzPdDyk4ZK81daHZ>",
|
||||
"<https://www.w3.org/TR/owl-ref/#sameAs-def>",
|
||||
"\"did:ethr:0xf7398bacf610bb4e3b567811279fcb3c41919f89\""
|
||||
],
|
||||
[
|
||||
"<urn:uuid:14ab6047-bf2d-4fde-9564-51dead126ffb>",
|
||||
"<https://www.w3.org/2018/credentials#credentialSubject>",
|
||||
"<did:key:z6MkgFneaaMjN6zybqLNXgt4YfmVx2XZhzPdDyk4ZK81daHZ>"
|
||||
],
|
||||
[
|
||||
"<urn:uuid:14ab6047-bf2d-4fde-9564-51dead126ffb>",
|
||||
"<https://www.w3.org/2018/credentials#issuanceDate>",
|
||||
"\"2021-03-04T21:08:22.615Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime>"
|
||||
],
|
||||
[
|
||||
"<urn:uuid:14ab6047-bf2d-4fde-9564-51dead126ffb>",
|
||||
"<https://www.w3.org/2018/credentials#issuer>",
|
||||
"<did:ethr:0xf7398bacf610bb4e3b567811279fcb3c41919f89>"
|
||||
],
|
||||
[
|
||||
"<urn:uuid:14ab6047-bf2d-4fde-9564-51dead126ffb>",
|
||||
"<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>",
|
||||
"<https://www.w3.org/2018/credentials#VerifiableCredential>"
|
||||
]
|
||||
],
|
||||
"proof": [
|
||||
[
|
||||
"_:c14n0",
|
||||
"<http://purl.org/dc/terms/created>",
|
||||
"\"2021-03-04T21:08:22.616Z\"^^<http://www.w3.org/2001/XMLSchema#dateTime>"
|
||||
],
|
||||
[
|
||||
"_:c14n0",
|
||||
"<https://w3id.org/security#proofPurpose>",
|
||||
"<https://w3id.org/security#assertionMethod>"
|
||||
],
|
||||
[
|
||||
"_:c14n0",
|
||||
"<https://w3id.org/security#verificationMethod>",
|
||||
"<did:ethr:0xf7398bacf610bb4e3b567811279fcb3c41919f89#Eip712Method2021>"
|
||||
],
|
||||
[
|
||||
"_:c14n0",
|
||||
"<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>",
|
||||
"<https://w3id.org/security#Eip712Signature2021>"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": {
|
||||
"chainId": 5,
|
||||
"name": "Ether Mail",
|
||||
"chainId": 1,
|
||||
"name": "Complex Structs Mail",
|
||||
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
||||
"version": "1"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user