From 4bef35816fd1ddc5d4eeba2c47a76ff1b9c4d6f8 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 1 Dec 2017 18:16:14 +0300 Subject: complete general transaction tests --- .../TransactionWithHihghGasLimit63m1Filler.json | 27 +++++++++++++++++++++ .../ttRSValue/RightVRSTestF0000000aFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestF0000000bFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestF0000000cFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestF0000000dFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestF0000000eFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestF0000000fFiller.json | 22 +++++++++++++++++ .../ttRSValue/RightVRSTestVPrefixedBy0Filler.json | 22 +++++++++++++++++ .../RightVRSTestVPrefixedBy0_2Filler.json | 22 +++++++++++++++++ .../RightVRSTestVPrefixedBy0_3Filler.json | 22 +++++++++++++++++ .../TransactionWithTooManyRLPElementsFiller.json | 2 +- .../ttSignature/Vitalik_10Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_11Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_12Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_13Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_14Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_15Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_16Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_17Filler.json | 23 ++++++++++++++++++ .../ttSignature/Vitalik_1Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_2Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_3Filler.json | 28 ++++++++++++++++++++++ .../ttSignature/Vitalik_4Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_5Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_6Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_7Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_8Filler.json | 27 +++++++++++++++++++++ .../ttSignature/Vitalik_9Filler.json | 27 +++++++++++++++++++++ .../WrongVRSTestIncorrectSizeFiller.json | 2 +- .../ttSignature/WrongVRSTestVEqual26Filler.json | 22 ----------------- .../ttSignature/WrongVRSTestVEqual29Filler.json | 22 ----------------- .../ttSignature/WrongVRSTestVEqual31Filler.json | 22 ----------------- .../ttSignature/ZeroSigTransaction2Filler.json | 22 +++++++++++++++++ .../ttSignature/ZeroSigTransaction3Filler.json | 22 +++++++++++++++++ .../ttSignature/ZeroSigTransaction4Filler.json | 22 +++++++++++++++++ .../ttSignature/ZeroSigTransaction5Filler.json | 22 +++++++++++++++++ .../ttSignature/ZeroSigTransaction6Filler.json | 22 +++++++++++++++++ .../ttSignature/ZeroSigTransactionFiller.json | 22 +++++++++++++++++ .../ttVValue/V_equals37Filler.json | 27 +++++++++++++++++++++ .../ttVValue/V_equals38Filler.json | 27 +++++++++++++++++++++ .../ttVValue/V_overflow32bitFiller.json | 2 +- .../ttVValue/V_overflow64bitPlus28Filler.json | 2 +- .../ttVValue/V_overflow64bitSignedFiller.json | 4 ++-- .../ttVValue/V_wrongvalue_101Filler.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_121Filler.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_122Filler.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_123Filler.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_124Filler.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_ffFiller.json | 22 +++++++++++++++++ .../ttVValue/V_wrongvalue_ffffFiller.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual26Filler.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual29Filler.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual31Filler.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual36Filler.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual39Filler.json | 22 +++++++++++++++++ .../ttVValue/WrongVRSTestVEqual41Filler.json | 22 +++++++++++++++++ 56 files changed, 1139 insertions(+), 72 deletions(-) create mode 100644 src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000aFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000bFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000cFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000dFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000eFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000fFiller.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0Filler.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_2Filler.json create mode 100644 src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_3Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_10Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_11Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_12Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_13Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_14Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_15Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_16Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_17Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_1Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_2Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_3Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_4Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_5Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_6Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_7Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_8Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/Vitalik_9Filler.json delete mode 100644 src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual26Filler.json delete mode 100644 src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual29Filler.json delete mode 100644 src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual31Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransaction2Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransaction3Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransaction4Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransaction5Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransaction6Filler.json create mode 100644 src/TransactionTestsFiller/ttSignature/ZeroSigTransactionFiller.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_equals37Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_equals38Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json create mode 100644 src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json create mode 100644 src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json (limited to 'src/TransactionTestsFiller') diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json new file mode 100644 index 000000000..42eb6fa1f --- /dev/null +++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json @@ -0,0 +1,27 @@ +{ + "TransactionWithHihghGasLimit63m1" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "2^63 - 1", + "gasLimit" : "9223372036854775807", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "37", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000aFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000aFiller.json new file mode 100644 index 000000000..b27be8a1e --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000aFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000a" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf028", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000bFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000bFiller.json new file mode 100644 index 000000000..cc6fee8b0 --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000bFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000b" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf029", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000cFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000cFiller.json new file mode 100644 index 000000000..450056add --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000cFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000c" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf030", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000dFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000dFiller.json new file mode 100644 index 000000000..5d074bafc --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000dFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000d" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf0000000000000000000000000000028", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000eFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000eFiller.json new file mode 100644 index 000000000..7146efead --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000eFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000e" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf0000000000000000000000000000029", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000fFiller.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000fFiller.json new file mode 100644 index 000000000..d7b77eb28 --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestF0000000fFiller.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestF0000000f" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xf0000000000000000000000000000030", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0Filler.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0Filler.json new file mode 100644 index 000000000..a14ee738d --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0Filler.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestVPrefixedBy0" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0028", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_2Filler.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_2Filler.json new file mode 100644 index 000000000..5f6c85b89 --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_2Filler.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestVPrefixedBy0_2" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0029", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_3Filler.json b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_3Filler.json new file mode 100644 index 000000000..00db6f23a --- /dev/null +++ b/src/TransactionTestsFiller/ttRSValue/RightVRSTestVPrefixedBy0_3Filler.json @@ -0,0 +1,22 @@ +{ + "RightVRSTestVPrefixedBy0_3" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0030", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/TransactionWithTooManyRLPElementsFiller.json b/src/TransactionTestsFiller/ttSignature/TransactionWithTooManyRLPElementsFiller.json index 098307d6f..932e23347 100644 --- a/src/TransactionTestsFiller/ttSignature/TransactionWithTooManyRLPElementsFiller.json +++ b/src/TransactionTestsFiller/ttSignature/TransactionWithTooManyRLPElementsFiller.json @@ -1,6 +1,6 @@ { "TransactionWithTooManyRLPElements" : { - "expect" : [ + "expect" : [ { "network" : ["ALL"], "result" : "invalid" diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_10Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_10Filler.json new file mode 100644 index 000000000..afeb97a3e --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_10Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_10" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "9bddad43f934d313c2b79ca28a432dd2b7281029" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x02e248", + "gasPrice" : "0x04a817c808", + "nonce" : "0x08", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x0200", + "v" : "0x25", + "r" : "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c12", + "s" : "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c10" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_11Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_11Filler.json new file mode 100644 index 000000000..a27475d01 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_11Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_11" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x033450", + "gasPrice" : "0x04a817c809", + "nonce" : "0x09", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x02d9", + "v" : "0x25", + "r" : "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", + "s" : "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_12Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_12Filler.json new file mode 100644 index 000000000..214f98335 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_12Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_12" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid", + "sender" : "874b54a8bd152966d63f706bae1ffeb0411921e5" + } + ], + "transaction" : + { + "data" : "0x60f2ff61000080610011600039610011565b6000f3", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x0e", + "to" : "", + "value" : "", + "v" : "0x1c", + "r" : "0xa310f4d0b26207db76ba4e1e6e7cf1857ee3aa8559bcbc399a6b09bfea2d30b4", + "s" : "0x6dff38c645a1486651a717ddf3daccb4fd9a630871ecea0758ddfcf2774f9bc6" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_13Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_13Filler.json new file mode 100644 index 000000000..9209b3ebb --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_13Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_13" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid", + "sender" : "874b54a8bd152966d63f706bae1ffeb0411921e5" + } + ], + "transaction" : + { + "data" : "0x646f6e6b6579", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x0f", + "to" : "00000000000000000000000000000000000000c0", + "value" : "", + "v" : "0x1b", + "r" : "0x9f00c6da4f2e4b5f3316e70c7669f9df71fa21d533afa63450065731132ba7b6", + "s" : "0x3886c27a8b3515ab9e2e04492f8214718621421e92d3b6954d9e3fb409ead788" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_14Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_14Filler.json new file mode 100644 index 000000000..7617846f9 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_14Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_14" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid", + "sender" : "874b54a8bd152966d63f706bae1ffeb0411921e5" + } + ], + "transaction" : + { + "data" : "0x60f3ff61000080610011600039610011565b6000f3", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x0f", + "to" : "", + "value" : "0x01", + "v" : "0x1b", + "r" : "0xaf2944b645e280a35789aacfce7e16a8d57b43a0076dfd564bdc0395e3576324", + "s" : "0x5272a0013f198713128bb0e3da43bb03ec7224c5509d4cabbe39fd31c36b5786" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_15Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_15Filler.json new file mode 100644 index 000000000..a56abd7f3 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_15Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_15" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid", + "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + } + ], + "transaction" : + { + "data" : "0x6d6f6f7365", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x12", + "to" : "0000000000000000000000000000000000000001", + "value" : "0x00", + "v" : "0x29", + "r" : "0x376d0277dd3a2a9229dbcb5530b532c7e4cb0f821e0ca27d9acb940970d500d8", + "s" : "0x0ab2798f9d9c2f7551eb29d56878f8e342b45ca45f413b0fcba793d094f36f2b" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_16Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_16Filler.json new file mode 100644 index 000000000..60663c676 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_16Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_16" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid", + "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + } + ], + "transaction" : + { + "data" : "0x6d6f6f7365", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x13", + "to" : "0000000000000000000000000000000000000012", + "value" : "0x00", + "v" : "0x2a", + "r" : "0xd0e340578f9d733986f6a55c5401953c90f7ccd46fe72d5588592dd9cbdf1e03", + "s" : "0x01d8d63149bd986f363084ac064e8387850d80e5238cc16ed4d30fd0a5af7261" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_17Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_17Filler.json new file mode 100644 index 000000000..80eca2aba --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_17Filler.json @@ -0,0 +1,23 @@ +{ + "Vitalik_17" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid", + "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + } + ], + "transaction" : + { + "data" : "0x6d6f6f7365", + "gasLimit" : "0x0493e0", + "gasPrice" : "", + "nonce" : "0x14", + "to" : "0000000000000000000000000000000000000022", + "value" : "0x00", + "v" : "0x2a", + "r" : "0x4bc84887af29d2b159ee290dee793bdba34079428f48699e9fc92a7e12d4aeaf", + "s" : "0x63b9d78c5a36f96454fe2d5c1eb7c0264f6273afdc0ba28dd9a8f00eadaf7476" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_1Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_1Filler.json new file mode 100644 index 000000000..ba86b6ea3 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_1Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_1" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "f0f6f18bca1b28cd68e4357452947e021241e9ce" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x5208", + "gasPrice" : "0x04a817c800", + "nonce" : "", + "to" : "3535353535353535353535353535353535353535", + "value" : "", + "v" : "0x25", + "r" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "s" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_2Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_2Filler.json new file mode 100644 index 000000000..6660a4722 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_2Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_2" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "23ef145a395ea3fa3deb533b8a9e1b4c6c25d112" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0xa410", + "gasPrice" : "0x04a817c801", + "nonce" : "0x01", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x01", + "v" : "0x25", + "r" : "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bca", + "s" : "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_3Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_3Filler.json new file mode 100644 index 000000000..4a2620fc8 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_3Filler.json @@ -0,0 +1,28 @@ +{ + "Vitalik_3" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "2e485e0c23b4c3c542628a5f672eeab0ad4888be" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid", + "sender" : "2e485e0c23b4c3c542628a5f672eeab0ad4888be" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0xf618", + "gasPrice" : "0x04a817c802", + "nonce" : "0x02", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x08", + "v" : "0x25", + "r" : "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", + "s" : "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_4Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_4Filler.json new file mode 100644 index 000000000..016a3e378 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_4Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_4" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "82a88539669a3fd524d669e858935de5e5410cf0" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x014820", + "gasPrice" : "0x04a817c803", + "nonce" : "0x03", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x1b", + "v" : "0x25", + "r" : "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4e0", + "s" : "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_5Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_5Filler.json new file mode 100644 index 000000000..c720d13bc --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_5Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_5" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "f9358f2538fd5ccfeb848b64a96b743fcc930554" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x019a28", + "gasPrice" : "0x04a817c804", + "nonce" : "0x04", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x40", + "v" : "0x25", + "r" : "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c063", + "s" : "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_6Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_6Filler.json new file mode 100644 index 000000000..e095d269f --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_6Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_6" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "a8f7aba377317440bc5b26198a363ad22af1f3a4" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x01ec30", + "gasPrice" : "0x04a817c805", + "nonce" : "0x05", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x7d", + "v" : "0x25", + "r" : "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", + "s" : "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_7Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_7Filler.json new file mode 100644 index 000000000..9e692ba5e --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_7Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_7" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "a8f7aba377317440bc5b26198a363ad22af1f3a4" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x01ec30", + "gasPrice" : "0x04a817c805", + "nonce" : "0x05", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x7d", + "v" : "0x25", + "r" : "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", + "s" : "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_8Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_8Filler.json new file mode 100644 index 000000000..0738318ad --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_8Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_8" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "f1f571dc362a0e5b2696b8e775f8491d3e50de35" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x023e38", + "gasPrice" : "0x04a817c806", + "nonce" : "0x06", + "to" : "3535353535353535353535353535353535353535", + "value" : "0xd8", + "v" : "0x25", + "r" : "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2f", + "s" : "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2d" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/Vitalik_9Filler.json b/src/TransactionTestsFiller/ttSignature/Vitalik_9Filler.json new file mode 100644 index 000000000..4380ffb56 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/Vitalik_9Filler.json @@ -0,0 +1,27 @@ +{ + "Vitalik_9" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "d37922162ab7cea97c97a87551ed02c9a38b7332" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "0x029040", + "gasPrice" : "0x04a817c807", + "nonce" : "0x07", + "to" : "3535353535353535353535353535353535353535", + "value" : "0x0157", + "v" : "0x25", + "r" : "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", + "s" : "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/WrongVRSTestIncorrectSizeFiller.json b/src/TransactionTestsFiller/ttSignature/WrongVRSTestIncorrectSizeFiller.json index 170d0dc7e..bf886e478 100644 --- a/src/TransactionTestsFiller/ttSignature/WrongVRSTestIncorrectSizeFiller.json +++ b/src/TransactionTestsFiller/ttSignature/WrongVRSTestIncorrectSizeFiller.json @@ -1,6 +1,6 @@ { "WrongVRSTestIncorrectSize" : { - "expect" : [ + "expect" : [ { "network" : ["ALL"], "result" : "invalid" diff --git a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual26Filler.json b/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual26Filler.json deleted file mode 100644 index 5e618a388..000000000 --- a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual26Filler.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "WrongVRSTestVEqual26" : { - "expect" : [ - { - "network" : ["ALL"], - "result" : "invalid" - } - ], - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "26", - "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", - "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" - } - } -} diff --git a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual29Filler.json b/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual29Filler.json deleted file mode 100644 index 29f943ff1..000000000 --- a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual29Filler.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "WrongVRSTestVEqual29" : { - "expect" : [ - { - "network" : ["ALL"], - "result" : "invalid" - } - ], - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "29", - "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", - "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" - } - } -} diff --git a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual31Filler.json b/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual31Filler.json deleted file mode 100644 index f5f534ce6..000000000 --- a/src/TransactionTestsFiller/ttSignature/WrongVRSTestVEqual31Filler.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "WrongVRSTestVEqual31" : { - "expect" : [ - { - "network" : ["ALL"], - "result" : "invalid" - } - ], - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "31", - "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", - "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" - } - } -} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction2Filler.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction2Filler.json new file mode 100644 index 000000000..9c70138ce --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction2Filler.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction2" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction3Filler.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction3Filler.json new file mode 100644 index 000000000..f501ed7e4 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction3Filler.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction3" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "2", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction4Filler.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction4Filler.json new file mode 100644 index 000000000..bf25b0aab --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction4Filler.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction4" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "3", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction5Filler.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction5Filler.json new file mode 100644 index 000000000..920762972 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction5Filler.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction5" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "4", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction6Filler.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction6Filler.json new file mode 100644 index 000000000..409ed7fa6 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransaction6Filler.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction6" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "5", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSignature/ZeroSigTransactionFiller.json b/src/TransactionTestsFiller/ttSignature/ZeroSigTransactionFiller.json new file mode 100644 index 000000000..e9b1abd89 --- /dev/null +++ b/src/TransactionTestsFiller/ttSignature/ZeroSigTransactionFiller.json @@ -0,0 +1,22 @@ +{ + "ZeroSigTransaction" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json b/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json new file mode 100644 index 000000000..2a4408bcc --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json @@ -0,0 +1,27 @@ +{ + "V_equals37" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "2ea991808ba979ba103147edfd72304ebd95c028" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "55000", + "gasPrice" : "167697673397359", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "37", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json b/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json new file mode 100644 index 000000000..fe1f995eb --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json @@ -0,0 +1,27 @@ +{ + "V_equals38" : { + "expect" : [ + { + "network" : ["EIP158", "Byzantium", "Constantinople"], + "result" : "valid", + "sender" : "10d1d0f00e24ed10a9290ab187ab008a2a210559" + }, + { + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "38", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json index 8f33bab6d..e4414fc55 100644 --- a/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json +++ b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json @@ -1,6 +1,6 @@ { "V_overflow32bit" : { - "expect" : [ + "expect" : [ { "network" : ["ALL"], "result" : "invalid" diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json index 67c1c7f5d..56d807549 100644 --- a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json +++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json @@ -1,6 +1,6 @@ { "V_overflow64bitPlus28" : { - "expect" : [ + "expect" : [ { "network" : ["ALL"], "result" : "invalid" diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json index a89dbec88..ef02e5ede 100644 --- a/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json +++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json @@ -1,11 +1,11 @@ { "V_overflow64bitSigned" : { - "expect" : [ + "expect" : [ { "network" : ["Frontier"], "result" : "valid" }, - { + { "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"], "result" : "invalid" } diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json new file mode 100644 index 000000000..673c926e1 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_101" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0101", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json new file mode 100644 index 000000000..9ee600554 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_121" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0121", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json new file mode 100644 index 000000000..83c1b3d71 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_122" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0122", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json new file mode 100644 index 000000000..616b7a921 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_123" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0123", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json new file mode 100644 index 000000000..59e3c9f05 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_124" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0x0124", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json new file mode 100644 index 000000000..6bdd7842f --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_ff" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xff", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json new file mode 100644 index 000000000..14ae3e7bd --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json @@ -0,0 +1,22 @@ +{ + "V_wrongvalue_ffff" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0xffff", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json new file mode 100644 index 000000000..5e618a388 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual26" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "26", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json new file mode 100644 index 000000000..29f943ff1 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual29" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "29", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json new file mode 100644 index 000000000..f5f534ce6 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual31" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "31", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json new file mode 100644 index 000000000..dbcbdd6f8 --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual36" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "36", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json new file mode 100644 index 000000000..8c9a0094a --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual39" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "39", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json new file mode 100644 index 000000000..23b335c1c --- /dev/null +++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json @@ -0,0 +1,22 @@ +{ + "WrongVRSTestVEqual41" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "41", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + } +} -- cgit