diff options
author | Dimitry <dimitry@ethereum.org> | 2017-11-30 09:39:45 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-11-30 09:39:45 +0800 |
commit | c200d9beebed39296c2e3cf09c2472e836ef8f30 (patch) | |
tree | 63d063eb67af4b67957ff7b7d184b0e640a392c7 /TransactionTests/ttSignature | |
parent | bffedcb426663a4935782e91d28de3ece82df40f (diff) | |
download | tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.gz tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.bz2 tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.lz tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.xz tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.zst tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.zip |
convert Frontier and Homestead ttTests to new format
Diffstat (limited to 'TransactionTests/ttSignature')
13 files changed, 348 insertions, 0 deletions
diff --git a/TransactionTests/ttSignature/EmptyTransaction.json b/TransactionTests/ttSignature/EmptyTransaction.json new file mode 100644 index 000000000..900f44824 --- /dev/null +++ b/TransactionTests/ttSignature/EmptyTransaction.json @@ -0,0 +1,24 @@ +{ + "EmptyTransaction" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/EmptyTransactionFiller.json", + "sourceHash" : "47e5d465de2015c26656ae1ae521dc3bc2359a669e0d0c11a9fb6b529beafe77" + }, + "rlp" : "0xf85d80808094095e7baea6a6c7c4c2dfeb977efac326af552d8780801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/RSsecp256k1.json b/TransactionTests/ttSignature/RSsecp256k1.json new file mode 100644 index 000000000..9a1be7231 --- /dev/null +++ b/TransactionTests/ttSignature/RSsecp256k1.json @@ -0,0 +1,24 @@ +{ + "RSsecp256k1" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/RSsecp256k1Filler.json", + "sourceHash" : "657fe92e02a25e7078b73850ba1991319b482e8e5fe18e0d29145163fa85e84b" + }, + "rlp" : "0xf85f030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/RightVRSTest.json b/TransactionTests/ttSignature/RightVRSTest.json new file mode 100644 index 000000000..451c72dcf --- /dev/null +++ b/TransactionTests/ttSignature/RightVRSTest.json @@ -0,0 +1,36 @@ +{ + "RightVRSTest" : { + "Byzantium" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "Constantinople" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "EIP150" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "EIP158" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "Frontier" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "Homestead" : { + "hash" : "1cbb233404f49e96cb795d0ea74f485eca2c41a216e0ce80694cef4dd7a45b50", + "sender" : "58d79230fc81a042315da7d243272798e27cb40c" + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/RightVRSTestFiller.json", + "sourceHash" : "87d3cf8cb2250790e69a12465ba1a752243caa41d35ffc218b7258da0a829952" + }, + "rlp" : "0xf85f030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa01887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/SenderTest.json b/TransactionTests/ttSignature/SenderTest.json new file mode 100644 index 000000000..d38dd71df --- /dev/null +++ b/TransactionTests/ttSignature/SenderTest.json @@ -0,0 +1,36 @@ +{ + "SenderTest" : { + "Byzantium" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "Constantinople" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "EIP150" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "EIP158" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "Frontier" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "Homestead" : { + "hash" : "ecb3ece1b90ea15a2360b99abc98ae56bd6bec7d14d5ce16ca4e814b44e4438d", + "sender" : "963f4a0d8a11b758de8d5b99ab4ac898d6438ea6" + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/SenderTestFiller.json", + "sourceHash" : "60441a1c34be3965118d997841cb624c09b56e32c62b622abf8ff4feb1598f47" + }, + "rlp" : "0xf85f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/TransactionWithTooFewRLPElements.json b/TransactionTests/ttSignature/TransactionWithTooFewRLPElements.json new file mode 100644 index 000000000..3e34779a2 --- /dev/null +++ b/TransactionTests/ttSignature/TransactionWithTooFewRLPElements.json @@ -0,0 +1,24 @@ +{ + "TransactionWithTooFewRLPElements" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/TransactionWithTooFewRLPElementsFiller.json", + "sourceHash" : "e5d4dd6e05c8614f72a8739e2b611021189fc9412044993d49c081b1a128b5b9" + }, + "rlp" : "0xf85b800194095e7baea6a6c7c4c2dfeb977efac326af552d87801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/TransactionWithTooManyRLPElements.json b/TransactionTests/ttSignature/TransactionWithTooManyRLPElements.json new file mode 100644 index 000000000..030d6bf54 --- /dev/null +++ b/TransactionTests/ttSignature/TransactionWithTooManyRLPElements.json @@ -0,0 +1,24 @@ +{ + "TransactionWithTooManyRLPElements" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/TransactionWithTooManyRLPElementsFiller.json", + "sourceHash" : "22f97353dfae548fc5093bc0e0bef782fad54c641abe94beb7191a59eb3e977d" + }, + "rlp" : "0xf865800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804851de98d0edd" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/WrongVRSTestIncorrectSize.json b/TransactionTests/ttSignature/WrongVRSTestIncorrectSize.json new file mode 100644 index 000000000..bd088af24 --- /dev/null +++ b/TransactionTests/ttSignature/WrongVRSTestIncorrectSize.json @@ -0,0 +1,24 @@ +{ + "WrongVRSTestIncorrectSize" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/WrongVRSTestIncorrectSizeFiller.json", + "sourceHash" : "6d2f063eca52e85fbe8846573fad678e53e8db4f72b0a78042a98da14f81b42e" + }, + "rlp" : "0xf863800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3a28887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a302c3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/WrongVRSTestVEqual26.json b/TransactionTests/ttSignature/WrongVRSTestVEqual26.json new file mode 100644 index 000000000..e38be2c9e --- /dev/null +++ b/TransactionTests/ttSignature/WrongVRSTestVEqual26.json @@ -0,0 +1,24 @@ +{ + "WrongVRSTestVEqual26" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual26Filler.json", + "sourceHash" : "279e4070641d6ce1660f67472d74c5ce7473fcfe2c789a777618a95766662773" + }, + "rlp" : "0xf85f800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801aa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/WrongVRSTestVEqual29.json b/TransactionTests/ttSignature/WrongVRSTestVEqual29.json new file mode 100644 index 000000000..9b2f4c97c --- /dev/null +++ b/TransactionTests/ttSignature/WrongVRSTestVEqual29.json @@ -0,0 +1,24 @@ +{ + "WrongVRSTestVEqual29" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual29Filler.json", + "sourceHash" : "5f72f160edc5fa06c3ee3df9edee355c78d3b87821a9e28d95f7db7c365dff43" + }, + "rlp" : "0xf85f800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801da098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/WrongVRSTestVEqual31.json b/TransactionTests/ttSignature/WrongVRSTestVEqual31.json new file mode 100644 index 000000000..15e065a6e --- /dev/null +++ b/TransactionTests/ttSignature/WrongVRSTestVEqual31.json @@ -0,0 +1,24 @@ +{ + "WrongVRSTestVEqual31" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual31Filler.json", + "sourceHash" : "9770c8ed2f9c381d2bb71df500cb9add6a6c8c365ee875d7bd88130a6267fdea" + }, + "rlp" : "0xf85f800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/WrongVRSTestVOverflow.json b/TransactionTests/ttSignature/WrongVRSTestVOverflow.json new file mode 100644 index 000000000..f7c8a1822 --- /dev/null +++ b/TransactionTests/ttSignature/WrongVRSTestVOverflow.json @@ -0,0 +1,24 @@ +{ + "WrongVRSTestVOverflow" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/WrongVRSTestVOverflowFiller.json", + "sourceHash" : "cd75d5892381614bb6490ebf82a130df919de6546f780ec8274dbfe7f04d24cf" + }, + "rlp" : "0xf861800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80820136a098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/invalidSignature.json b/TransactionTests/ttSignature/invalidSignature.json new file mode 100644 index 000000000..77af1a089 --- /dev/null +++ b/TransactionTests/ttSignature/invalidSignature.json @@ -0,0 +1,24 @@ +{ + "invalidSignature" : { + "Byzantium" : { + }, + "Constantinople" : { + }, + "EIP150" : { + }, + "EIP158" : { + }, + "Frontier" : { + }, + "Homestead" : { + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/invalidSignatureFiller.json", + "sourceHash" : "2731531629b1b8023da619b975f91d17dd230806f25f46802403e1a5bc7ab10c" + }, + "rlp" : "0xf8638080830f424094095e7baea6a6c7c4c2dfeb977efac326af552d87830186a0801ba0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0badf00d70ec28c94a3b55ec771bcbc70778d6ee0b51ca7ea9514594c861b1884" + } +}
\ No newline at end of file diff --git a/TransactionTests/ttSignature/libsecp256k1test.json b/TransactionTests/ttSignature/libsecp256k1test.json new file mode 100644 index 000000000..2aad176b0 --- /dev/null +++ b/TransactionTests/ttSignature/libsecp256k1test.json @@ -0,0 +1,36 @@ +{ + "libsecp256k1test" : { + "Byzantium" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "Constantinople" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "EIP150" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "EIP158" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "Frontier" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "Homestead" : { + "hash" : "ba09edc1275a285fb27bfe82c4eea240a907a0dbaf9e55764b8f318c37d5974f", + "sender" : "170ad78f26da62f591fa3fe3d54c30016167cbbf" + }, + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.f0141ab0.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++", + "source" : "src/TransactionTestsFiller/ttSignature/libsecp256k1testFiller.json", + "sourceHash" : "b4261ad7057e707bf06b0ab06d6c3c018e5b3e19e789de60b924fc2eb647a6ed" + }, + "rlp" : "0xd1808609184e72a00082f3888080801b2c04" + } +}
\ No newline at end of file |