aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TransactionTests/EIP155/ttTransactionTest.json2
-rw-r--r--TransactionTests/Metropolis/ttMetropolisTest.json69
-rw-r--r--TransactionTests/Metropolis/ttTransactionTestZeroSig.json172
-rw-r--r--src/TransactionTestsFiller/EIP155/ttTransactionTestFiller.json86
-rw-r--r--src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json166
-rw-r--r--src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json88
6 files changed, 443 insertions, 140 deletions
diff --git a/TransactionTests/EIP155/ttTransactionTest.json b/TransactionTests/EIP155/ttTransactionTest.json
index a011268aa..6ed245629 100644
--- a/TransactionTests/EIP155/ttTransactionTest.json
+++ b/TransactionTests/EIP155/ttTransactionTest.json
@@ -559,7 +559,7 @@
},
"ZeroSigTransaction" : {
"blocknumber" : "2675000",
- "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080"
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80058080"
},
"dataTx_bcValidBlockTest" : {
"blocknumber" : "2675000",
diff --git a/TransactionTests/Metropolis/ttMetropolisTest.json b/TransactionTests/Metropolis/ttMetropolisTest.json
index 0c31c5842..33e74f695 100644
--- a/TransactionTests/Metropolis/ttMetropolisTest.json
+++ b/TransactionTests/Metropolis/ttMetropolisTest.json
@@ -37,8 +37,18 @@
},
"ZeroSigTransaction" : {
"blocknumber" : "3000000",
- "hash" : "d9e8f6db8f5c2a0c417caf70128ba47e237f354e1a10010fe81d140fea32d35f",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransaction2" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransaction3" : {
+ "blocknumber" : "3000000",
+ "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
@@ -48,14 +58,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
- "ZeroSigTransaction2" : {
+ "ZeroSigTransactionV1" : {
"blocknumber" : "3000000",
- "hash" : "d9e8f6db8f5c2a0c417caf70128ba47e237f354e1a10010fe81d140fea32d35f",
- "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080",
+ "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
@@ -65,8 +75,55 @@
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
+ },
+ "ZeroSigTransactionV2" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionV3" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionV4" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionVp1" : {
+ "blocknumber" : "3000000",
+ "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" : {
+ "data" : "0x",
+ "gasLimit" : "0xc738",
+ "gasPrice" : "0x01",
+ "nonce" : "0x03",
+ "r" : "0x00",
+ "s" : "0x00",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "v" : "0x01",
+ "value" : "0x0a"
+ }
+ },
+ "ZeroSigTransactionVp2" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionVp3" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionVp4" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
}
} \ No newline at end of file
diff --git a/TransactionTests/Metropolis/ttTransactionTestZeroSig.json b/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
index 604004a96..803e4c797 100644
--- a/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
+++ b/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
@@ -1,12 +1,12 @@
{
"AddressLessThan20" : {
"blocknumber" : "3000000",
- "rlp" : "0xd28001825208870b9331677e6ebf0a80808080"
+ "rlp" : "0xd28001825208870b9331677e6ebf0a80018080"
},
"AddressLessThan20Prefixed0" : {
"blocknumber" : "3000000",
- "hash" : "139a7c47b23b7663eab3e3e7ab6f49d58d746bb79a76527565db504f15e9081e",
- "rlp" : "0xdf800182520894000000000000000000000000000b9331677e6ebf0a80808080",
+ "hash" : "8c56c9e0197c251ce24d6f7ef1bff7fa9593cdb8edb16fde956eb8e5f567b3f5",
+ "rlp" : "0xdf800182520894000000000000000000000000000b9331677e6ebf0a80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -16,22 +16,22 @@
"r" : "0x00",
"s" : "0x00",
"to" : "0x000000000000000000000000000b9331677e6ebf",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"AddressMoreThan20" : {
"blocknumber" : "3000000",
- "rlp" : "0xe0800182520895b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c0a80808080"
+ "rlp" : "0xe0800182520895b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c0a80018080"
},
"AddressMoreThan20PrefixedBy0" : {
"blocknumber" : "3000000",
- "rlp" : "0xe7367b8252089c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d870b12808080"
+ "rlp" : "0xe7367b8252089c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d870b12018080"
},
"DataTestEnoughGAS" : {
"blocknumber" : "3000000",
- "hash" : "125d159ba5954d7d33e49a53c9e1e5c9e7837fbd930655fb148891e9e8e663a9",
- "rlp" : "0xed80018259d894095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03808080",
+ "hash" : "fde9c806f0b0270985959bb1b54802ecffe3ea42c8083ba0e7c2bc6535091104",
+ "rlp" : "0xed80018259d894095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x0358ac39584bc98a7c979f984b03",
@@ -41,14 +41,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"DataTestFirstZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "150bb99cb413d85705dc1435fbbe97b286fe235ec4d189d07e7f3caab8824688",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000001000000000000000000000000000000808080",
+ "hash" : "a974e42e139b5938928c65e4493e7b8715be0bf9af49012b16e2168fdb64a6e6",
+ "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000001000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x000000000000000000000000001000000000000000000000000000000",
@@ -58,14 +58,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"DataTestLastZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "aba0c146ce012126aeebd367925e127b37de9fb64b1ac7b94462632788103910",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0010000000000000000000000000000000000000000000000000000000808080",
+ "hash" : "06e20bd542605751a12918e403dfa6977157d8ac12e9c334a4f0f337c7c4b8d7",
+ "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0010000000000000000000000000000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x010000000000000000000000000000000000000000000000000000000",
@@ -75,18 +75,18 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"DataTestNotEnoughGAS" : {
"blocknumber" : "3000000",
- "rlp" : "0xed800182521c94095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03808080"
+ "rlp" : "0xed800182521c94095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03018080"
},
"DataTestZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "c1e4a1d74e407b2a29ccc0ae0c8f5e34f28392cbb0dc9c7d3c9625039499bf09",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000000000000000000000000000000000000808080",
+ "hash" : "0094591b298b19cf14099508ac73ae14f1065d527f47674e7f68bd070eab389b",
+ "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000000000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x000000000000000000000000000000000000000000000000000000000",
@@ -96,22 +96,22 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"EmptyTransaction" : {
"blocknumber" : "3000000",
- "rlp" : "0xdd80808094095e7baea6a6c7c4c2dfeb977efac326af552d878080808080"
+ "rlp" : "0xdd80808094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"NotEnoughGasLimit" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf0301824e2094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080"
+ "rlp" : "0xdf0301824e2094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080"
},
"RightVRSTest" : {
"blocknumber" : "3000000",
- "hash" : "b47656e0ea732fb27c9a76f579141feb68695fb96e025c4eace7b6969cc0f680",
- "rlp" : "0xdf030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080",
+ "hash" : "853872eb301e79430ef81ef1ea5ffb1a1408c8912b4d7eea0e1a820ba8901091",
+ "rlp" : "0xdf030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
@@ -121,18 +121,18 @@
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0a"
}
},
"TransactionWithGasLimitOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83e8001a101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080"
+ "rlp" : "0xf83e8001a101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
},
"TransactionWithGasLimitOverflow2" : {
"blocknumber" : "3000000",
- "hash" : "1ff70eb4c410437a961b73eeaff76c8e748246e91014f9fc407ecd979ed2aa9e",
- "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080",
+ "hash" : "8243abdb63934123ed99a7b2fc1f2306e7c838be83bcd310a1736ca8d988b4ca",
+ "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -142,14 +142,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0b"
}
},
"TransactionWithGasLimitOverflow63" : {
"blocknumber" : "3000000",
- "hash" : "1ff70eb4c410437a961b73eeaff76c8e748246e91014f9fc407ecd979ed2aa9e",
- "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080",
+ "hash" : "8243abdb63934123ed99a7b2fc1f2306e7c838be83bcd310a1736ca8d988b4ca",
+ "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -159,14 +159,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0b"
}
},
"TransactionWithGasLimitOverflow63_1" : {
"blocknumber" : "3000000",
- "hash" : "0d407a2992e9926028126783a66bf43308278feb6307da0f530cdff95dedb611",
- "rlp" : "0xe5800188800000000000000194095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080",
+ "hash" : "55a13074f8c53be4c16746d477312806799d438723242d4bde93bca53c251e09",
+ "rlp" : "0xe5800188800000000000000194095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -176,14 +176,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0b"
}
},
"TransactionWithGasLimitxPriceOverflow" : {
"blocknumber" : "3000000",
- "hash" : "d26bca5ee0ea239ea2fffd18cdb6059caddb88fcfc8dcd8344c61201b4aede0d",
- "rlp" : "0xf8458088016345785d8a0000a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "e9520acea0c6d755f6656a8e111123d370b38cb5a38f3ab15f2e73198c3cd965",
+ "rlp" : "0xf8458088016345785d8a0000a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -193,14 +193,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithGasLimitxPriceOverflow2" : {
"blocknumber" : "3000000",
- "hash" : "fbec136e546249a0ba574736d7e43dfc58a6089a1dfc3ab514a52a7fdb923c91",
- "rlp" : "0xe780873b9403b9403b5c8398968094095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "9c3eb393dc97e3df7bcc269a77ad73f6b7e63960d2925c900fb44dac062b4447",
+ "rlp" : "0xe780873b9403b9403b5c8398968094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -210,22 +210,22 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithGasPriceOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf84080a101000000000000000000000000000000000000000000000000000000000000000082520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080"
+ "rlp" : "0xf84080a101000000000000000000000000000000000000000000000000000000000000000082520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
},
"TransactionWithHighValueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf840800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a101000000000000000000000000000000000000000000000000000000000000000080808080"
+ "rlp" : "0xf840800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a101000000000000000000000000000000000000000000000000000000000000000080018080"
},
"TransactionWithHihghGasLimit63m1" : {
"blocknumber" : "3000000",
- "hash" : "5c1012ff2cec30bad5e9ac51deffd52e7d2669078a1eed61d5df0c17e0190166",
- "rlp" : "0xe58001887fffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "50b062e8bc5dd5e8333e8dcda5cee3b4cf7f87b21d29f510867334ef5c06942a",
+ "rlp" : "0xe58001887fffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -235,14 +235,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithHihghGasPrice" : {
"blocknumber" : "3000000",
- "hash" : "da8e996bf9af6112da81ba787f974c7ba25791f43a559d0f3d22d5b091d5c30c",
- "rlp" : "0xf83f80a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82520894095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "ccaf8be8e6858e7d98a1c6c77b8df5d134dffcd5f371a1c9b3bd4ed2e630b59b",
+ "rlp" : "0xf83f80a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -252,14 +252,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithHihghGasPrice2" : {
"blocknumber" : "3000000",
- "hash" : "14757b5de786eeaec279671729f4384eedaec7ba5dcd0e1d24d239a77ed5b40d",
- "rlp" : "0xe5808698852840a46f82d6d894095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "ac541aba10d3229a904c0115f48f19b5f1dc458488d6eada0760856854bc896e",
+ "rlp" : "0xe5808698852840a46f82d6d894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -269,14 +269,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithHihghNonce256" : {
"blocknumber" : "3000000",
- "hash" : "9d575acf7f90fc859f94dcc7b413dced5a1674ec70b28fc7b317eeeb1c7cb7ad",
- "rlp" : "0xf83fa0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "fa9799e4692fc024f0eabb68e63d55682c7e1172c0926204a58f11db923a6bc7",
+ "rlp" : "0xf83fa0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -286,14 +286,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithHihghNonce32" : {
"blocknumber" : "3000000",
- "hash" : "a68063d0a5e4140eff0bf7f6552d9628eed23157635f5277406a263a5c9c7035",
- "rlp" : "0xe48501000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080808080",
+ "hash" : "e85b157469f1e5558afb72f4933160cde888c9f12e9bae33edd2647b4cfb6763",
+ "rlp" : "0xe48501000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -303,14 +303,14 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
"TransactionWithHihghValue" : {
"blocknumber" : "3000000",
- "hash" : "b0a46aca91441f6d0a52f4d0769ddec8d220c68be9a0eb19d3f2bfea06ad00f0",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80808080",
+ "hash" : "e44e5e10edfc8001fc9fe6153e855226e5144fcbb61ef60f4e2aa4f9aaa9debb",
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -320,13 +320,13 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
},
"TransactionWithNonceOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf840a10100000000000000000000000000000000000000000000000000000000000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080"
+ "rlp" : "0xf840a10100000000000000000000000000000000000000000000000000000000000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
},
"TransactionWithRSvalue0" : {
"blocknumber" : "3000000",
@@ -338,20 +338,20 @@
},
"TransactionWithRvalue1" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80800180"
+ "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80010180"
},
"TransactionWithRvalueHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8080a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414080"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414080"
},
"TransactionWithRvalueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8080a2fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141000080"
+ "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a2fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141000080"
},
"TransactionWithRvaluePrefixed00" : {
"blocknumber" : "3000000",
- "hash" : "2d275006c9a341e73ad2b8f858214dbcfa584ef33bc8754688ea5356c8cfde01",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080",
+ "hash" : "7c6c5adf764cb5b6bae342244b84655b1b854738350876a1ec993b3abcd4c595",
+ "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -361,13 +361,13 @@
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0b"
}
},
"TransactionWithRvalueTooHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8080a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414180"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414180"
},
"TransactionWithSvalue0" : {
"blocknumber" : "3000000",
@@ -375,28 +375,28 @@
},
"TransactionWithSvalue1" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80808001"
+ "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018001"
},
"TransactionWithSvalueEqual_c_secp256k1n_x05" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b808080a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
},
"TransactionWithSvalueHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b808080a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
},
"TransactionWithSvalueLargerThan_c_secp256k1n_x05" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b808080a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
},
"TransactionWithSvalueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b808080a2fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
+ "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a2fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
},
"TransactionWithSvaluePrefixed00" : {
"blocknumber" : "3000000",
- "hash" : "2d275006c9a341e73ad2b8f858214dbcfa584ef33bc8754688ea5356c8cfde01",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80808080",
+ "hash" : "7c6c5adf764cb5b6bae342244b84655b1b854738350876a1ec993b3abcd4c595",
+ "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
@@ -406,21 +406,21 @@
"r" : "0x00",
"s" : "0x0000000000000000000000000000",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x0b"
}
},
"TransactionWithSvalueTooHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b808080a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
+ "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
},
"TransactionWithTooFewRLPElements" : {
"blocknumber" : "3000000",
- "rlp" : "0xdb800194095e7baea6a6c7c4c2dfeb977efac326af552d8780808080"
+ "rlp" : "0xdb800194095e7baea6a6c7c4c2dfeb977efac326af552d8780018080"
},
"TransactionWithTooManyRLPElements" : {
"blocknumber" : "3000000",
- "rlp" : "0xe5800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870a80808080851de98d0edd"
+ "rlp" : "0xe5800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870a80018080851de98d0edd"
},
"V_overflow32bit" : {
"blocknumber" : "3000000",
@@ -444,7 +444,7 @@
},
"WrongVRSTestIncorrectSize" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8080a298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c380"
+ "rlp" : "0xf841800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8001a298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c380"
},
"WrongVRSTestVEqual26" : {
"blocknumber" : "3000000",
@@ -464,8 +464,8 @@
},
"dataTx_bcValidBlockTest" : {
"blocknumber" : "3000000",
- "hash" : "70af628ca781f03e1b8c67da77193ab224c3dad643f68bc105bf5e3bc23f858f",
- "rlp" : "0xf901bc8032830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56808080",
+ "hash" : "e9583548f0116ee77d9544c7b937cae6f12cd76b7496496d5914e017ae79f22f",
+ "rlp" : "0xf901bc8032830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",
@@ -475,7 +475,7 @@
"r" : "0x00",
"s" : "0x00",
"to" : "",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
},
@@ -485,8 +485,8 @@
},
"libsecp256k1test" : {
"blocknumber" : "3000000",
- "hash" : "1a38576fbe7d26f6399c760251fa3a8cac46a463bb2fb80dc7fa47962a7e91b7",
- "rlp" : "0xd1808609184e72a00082f388808080808080",
+ "hash" : "2a0313bad4c850f0bcdacdae1e62669ebabda4061851cf6c018eab132c945525",
+ "rlp" : "0xd1808609184e72a00082f388808080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
@@ -496,7 +496,7 @@
"r" : "0x00",
"s" : "0x00",
"to" : "",
- "v" : "0x00",
+ "v" : "0x01",
"value" : "0x00"
}
}
diff --git a/src/TransactionTestsFiller/EIP155/ttTransactionTestFiller.json b/src/TransactionTestsFiller/EIP155/ttTransactionTestFiller.json
index e63410b4a..a13a5b119 100644
--- a/src/TransactionTestsFiller/EIP155/ttTransactionTestFiller.json
+++ b/src/TransactionTestsFiller/EIP155/ttTransactionTestFiller.json
@@ -1083,7 +1083,6 @@
}
},
-
"ZeroSigTransaction" : {
"expect" : "invalid",
"blocknumber" : "2675000",
@@ -1099,5 +1098,90 @@
"r" : "0",
"s" : "0"
}
+ },
+
+ "ZeroSigTransaction" : {
+ "expect" : "invalid",
+ "blocknumber" : "2675000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransaction" : {
+ "expect" : "invalid",
+ "blocknumber" : "2675000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "2",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransaction" : {
+ "expect" : "invalid",
+ "blocknumber" : "2675000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "3",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransaction" : {
+ "expect" : "invalid",
+ "blocknumber" : "2675000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "4",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransaction" : {
+ "expect" : "invalid",
+ "blocknumber" : "2675000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "5",
+ "r" : "0",
+ "s" : "0"
+ }
}
}
diff --git a/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json b/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
index f0f4433b4..df1f31e50 100644
--- a/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
+++ b/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
@@ -153,7 +153,7 @@
},
"ZeroSigTransaction" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" :
@@ -170,7 +170,7 @@
}
},
- "ZeroSigTransaction2" : {
+ "ZeroSigTransactionV1" : {
"expect" : "valid",
"blocknumber" : "3000000",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
@@ -182,9 +182,171 @@
"nonce" : "3",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionV2" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "2",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionV3" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "3",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionV4" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "4",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransaction2" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
"v" : "0000000000",
"r" : "00000000000000",
"s" : "0000000000"
}
+ },
+
+ "ZeroSigTransaction3" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "1",
+ "r" : "00000000000000",
+ "s" : "0000000000"
+ }
+ },
+
+ "ZeroSigTransactionVp1" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "000000000001",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionVp2" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "000000000002",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionVp3" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "000000000003",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "ZeroSigTransactionVp4" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "000000000004",
+ "r" : "0",
+ "s" : "0"
+ }
}
}
diff --git a/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json b/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
index abdb85569..92808fd30 100644
--- a/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
+++ b/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
@@ -10,7 +10,7 @@
"nonce" : "3",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -43,7 +43,7 @@
"nonce" : "3",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -213,7 +213,7 @@
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3",
"s" : "0"
}
@@ -230,7 +230,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -247,7 +247,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -264,7 +264,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -281,7 +281,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -298,7 +298,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -315,7 +315,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0",
"extrafield" : "128472387293"
@@ -331,7 +331,7 @@
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -348,7 +348,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -366,7 +366,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -383,7 +383,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
}
@@ -400,7 +400,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
}
@@ -417,7 +417,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
}
@@ -451,7 +451,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0x01"
}
@@ -468,7 +468,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
}
@@ -485,7 +485,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
}
@@ -502,7 +502,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000",
"s" : "0"
}
@@ -519,7 +519,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
"s" : "0"
}
@@ -536,7 +536,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
"s" : "0"
}
@@ -570,7 +570,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0x01",
"s" : "0"
}
@@ -587,7 +587,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "000000000000000000",
"s" : "0"
}
@@ -621,7 +621,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0x0000000000000000000000000000"
}
@@ -638,7 +638,7 @@
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -655,7 +655,7 @@
"nonce" : "4294967296",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -672,7 +672,7 @@
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -690,7 +690,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -707,7 +707,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -724,7 +724,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -741,7 +741,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -758,7 +758,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -775,7 +775,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -792,7 +792,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -809,7 +809,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -826,7 +826,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -844,7 +844,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -861,7 +861,7 @@
"nonce" : "54",
"to" : "0x0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -878,7 +878,7 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -895,7 +895,7 @@
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -912,7 +912,7 @@
"nonce" : "0",
"to" : "b9331677e6ebf",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -929,7 +929,7 @@
"nonce" : "0",
"to" : "0x000000000000000000000000000b9331677e6ebf",
"value" : "10",
- "v" : "0",
+ "v" : "1",
"r" : "0",
"s" : "0"
}
@@ -946,7 +946,7 @@
"data": "0x",
"r": "0",
"s": "0",
- "v": "0",
+ "v": "1",
"value": "0"
}
},
@@ -962,7 +962,7 @@
"data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",
"r" : "0",
"s" : "0",
- "v": "0",
+ "v": "1",
"value": "0"
}
}