aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-03-28 20:43:32 +0800
committerDimitry <dimitry@ethdev.com>2017-03-28 20:43:32 +0800
commitf5f929f33bcc3e6b4d2908346dbbdd614bf50571 (patch)
tree077b57fdbf16a640758169469d58dc839700ea0d
parent2a2d8c2ed1297ef0f56d12752dd135491cfe96c5 (diff)
downloaddexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar.gz
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar.bz2
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar.lz
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar.xz
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.tar.zst
dexon-tests-f5f929f33bcc3e6b4d2908346dbbdd614bf50571.zip
correct zeroSigTransaction structure tests to eip #208
-rw-r--r--TransactionTests/Metropolis/ttMetropolisTest.json79
-rw-r--r--TransactionTests/Metropolis/ttTransactionTestZeroSig.json349
-rw-r--r--src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json204
-rw-r--r--src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json503
4 files changed, 847 insertions, 288 deletions
diff --git a/TransactionTests/Metropolis/ttMetropolisTest.json b/TransactionTests/Metropolis/ttMetropolisTest.json
index 33e74f695..aaf8b9045 100644
--- a/TransactionTests/Metropolis/ttMetropolisTest.json
+++ b/TransactionTests/Metropolis/ttMetropolisTest.json
@@ -45,38 +45,53 @@
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransaction2_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransaction3" : {
"blocknumber" : "3000000",
- "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransaction3_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "86cb069d23ec0f668c5e144a2a3ee1b9f9c0cccbb471a04e980fdc31385c8f64",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
"gasLimit" : "0xc738",
- "gasPrice" : "0x01",
- "nonce" : "0x03",
+ "gasPrice" : "0x00",
+ "nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"ZeroSigTransactionV1" : {
"blocknumber" : "3000000",
- "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionV1_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "86cb069d23ec0f668c5e144a2a3ee1b9f9c0cccbb471a04e980fdc31385c8f64",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
"gasLimit" : "0xc738",
- "gasPrice" : "0x01",
- "nonce" : "0x03",
+ "gasPrice" : "0x00",
+ "nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"ZeroSigTransactionV2" : {
@@ -84,31 +99,51 @@
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransactionV2_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransactionV3" : {
"blocknumber" : "3000000",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransactionV3_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080038080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransactionV4" : {
"blocknumber" : "3000000",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransactionV4_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransactionVp1" : {
"blocknumber" : "3000000",
- "hash" : "0a93f3435d3ca170ba4a88081385ebe7ab8d319e131a63e72b66e8ef7004e950",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionVp1_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "86cb069d23ec0f668c5e144a2a3ee1b9f9c0cccbb471a04e980fdc31385c8f64",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
"gasLimit" : "0xc738",
- "gasPrice" : "0x01",
- "nonce" : "0x03",
+ "gasPrice" : "0x00",
+ "nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"ZeroSigTransactionVp2" : {
@@ -116,14 +151,34 @@
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransactionVp2_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransactionVp3" : {
"blocknumber" : "3000000",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
},
+ "ZeroSigTransactionVp3_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
"ZeroSigTransactionVp4" : {
"blocknumber" : "3000000",
"rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransactionVp4_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
+ },
+ "ZeroSigTransaction_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff"
}
} \ No newline at end of file
diff --git a/TransactionTests/Metropolis/ttTransactionTestZeroSig.json b/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
index 803e4c797..3df06c74b 100644
--- a/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
+++ b/TransactionTests/Metropolis/ttTransactionTestZeroSig.json
@@ -1,103 +1,123 @@
{
"AddressLessThan20" : {
"blocknumber" : "3000000",
- "rlp" : "0xd28001825208870b9331677e6ebf0a80018080"
+ "rlp" : "0xd28080825208870b9331677e6ebf8080018080"
},
"AddressLessThan20Prefixed0" : {
"blocknumber" : "3000000",
- "hash" : "8c56c9e0197c251ce24d6f7ef1bff7fa9593cdb8edb16fde956eb8e5f567b3f5",
- "rlp" : "0xdf800182520894000000000000000000000000000b9331677e6ebf0a80018080",
+ "rlp" : "0xdf800182520894000000000000000000000000000b9331677e6ebf8080018080"
+ },
+ "AddressLessThan20Prefixed0_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "d924b49d4f019ec05285818c8e4f8ccf3060bd37ffcbf301cbae1accabcc0eeb",
+ "rlp" : "0xdf808082520894000000000000000000000000000b9331677e6ebf8080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x5208",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "0x000000000000000000000000000b9331677e6ebf",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"AddressMoreThan20" : {
"blocknumber" : "3000000",
- "rlp" : "0xe0800182520895b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c0a80018080"
+ "rlp" : "0xe0808082520895b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c8080018080"
},
"AddressMoreThan20PrefixedBy0" : {
"blocknumber" : "3000000",
- "rlp" : "0xe7367b8252089c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d870b12018080"
+ "rlp" : "0xe780808252089c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d878012018080"
},
"DataTestEnoughGAS" : {
"blocknumber" : "3000000",
- "hash" : "fde9c806f0b0270985959bb1b54802ecffe3ea42c8083ba0e7c2bc6535091104",
- "rlp" : "0xed80018259d894095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03018080",
+ "rlp" : "0xed80808259d894095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03018080"
+ },
+ "DataTestEnoughGAS_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "3826893c5bec96f4ea3bea2b0f71ba3269c74639fc131c0ab6a282a085a3cc2d",
+ "rlp" : "0xed80808259d894095e7baea6a6c7c4c2dfeb977efac326af552d87808e0358ac39584bc98a7c979f984b03018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x0358ac39584bc98a7c979f984b03",
"gasLimit" : "0x59d8",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"DataTestFirstZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "a974e42e139b5938928c65e4493e7b8715be0bf9af49012b16e2168fdb64a6e6",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000001000000000000000000000000000000018080",
+ "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000001000000000000000000000000000000018080"
+ },
+ "DataTestFirstZeroBytes_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "a56e954d3810612fe45c705464f2421cce031b092768cb1da28aa0ce81fa22ee",
+ "rlp" : "0xf83c80808261a894095e7baea6a6c7c4c2dfeb977efac326af552d87809d0000000000000000000000000001000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x000000000000000000000000001000000000000000000000000000000",
"gasLimit" : "0x61a8",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"DataTestLastZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "06e20bd542605751a12918e403dfa6977157d8ac12e9c334a4f0f337c7c4b8d7",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0010000000000000000000000000000000000000000000000000000000018080",
+ "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d87809d0010000000000000000000000000000000000000000000000000000000018080"
+ },
+ "DataTestLastZeroBytes_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "40a89eed26cdfa9906815ce7ac4a4cc4c225639da289e9bd48e4c46b6b8a1806",
+ "rlp" : "0xf83c80808261a894095e7baea6a6c7c4c2dfeb977efac326af552d87809d0010000000000000000000000000000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x010000000000000000000000000000000000000000000000000000000",
"gasLimit" : "0x61a8",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"DataTestNotEnoughGAS" : {
"blocknumber" : "3000000",
- "rlp" : "0xed800182521c94095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b03018080"
+ "rlp" : "0xed808082521c94095e7baea6a6c7c4c2dfeb977efac326af552d87808e0358ac39584bc98a7c979f984b03018080"
},
"DataTestZeroBytes" : {
"blocknumber" : "3000000",
- "hash" : "0094591b298b19cf14099508ac73ae14f1065d527f47674e7f68bd070eab389b",
- "rlp" : "0xf83c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d0000000000000000000000000000000000000000000000000000000000018080",
+ "rlp" : "0xf83c01808261a894095e7baea6a6c7c4c2dfeb977efac326af552d87809d0000000000000000000000000000000000000000000000000000000000018080"
+ },
+ "DataTestZeroBytes_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "7a5b5bcfae98e7198e33e3d815728a885d45053fd9add4d9dc053b22edddedee",
+ "rlp" : "0xf83c80808261a894095e7baea6a6c7c4c2dfeb977efac326af552d87809d0000000000000000000000000000000000000000000000000000000000018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x000000000000000000000000000000000000000000000000000000000",
"gasLimit" : "0x61a8",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"EmptyTransaction" : {
@@ -108,87 +128,90 @@
"blocknumber" : "3000000",
"rlp" : "0xdf0301824e2094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080"
},
+ "NotEnoughGasLimit_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xdf8080824e2094b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080018080"
+ },
"RightVRSTest" : {
"blocknumber" : "3000000",
- "hash" : "853872eb301e79430ef81ef1ea5ffb1a1408c8912b4d7eea0e1a820ba8901091",
- "rlp" : "0xdf030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080",
+ "rlp" : "0xdf038082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080"
+ },
+ "RightVRSTest_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "9db1920b0e7b088c28abc7601d492e2915af56b4e619b9a92271d8d91107845a",
+ "rlp" : "0xdf808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
"gasLimit" : "0x5208",
- "gasPrice" : "0x01",
- "nonce" : "0x03",
+ "gasPrice" : "0x00",
+ "nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"v" : "0x01",
- "value" : "0x0a"
+ "value" : "0x00"
}
},
"TransactionWithGasLimitOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83e8001a101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
+ "rlp" : "0xf83e8080a101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithGasLimitOverflow2" : {
"blocknumber" : "3000000",
- "hash" : "8243abdb63934123ed99a7b2fc1f2306e7c838be83bcd310a1736ca8d988b4ca",
- "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
+ "rlp" : "0xe5808088800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
+ },
+ "TransactionWithGasLimitOverflow2_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "99ba08162581f8086c4fa0b1a14785e277cd01cb2f1e125268a753a7c9cee6f2",
+ "rlp" : "0xe5808088800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x8000000000000000",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0b"
+ "value" : "0x00"
}
},
"TransactionWithGasLimitOverflow63" : {
"blocknumber" : "3000000",
- "hash" : "8243abdb63934123ed99a7b2fc1f2306e7c838be83bcd310a1736ca8d988b4ca",
- "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x8000000000000000",
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x0b"
- }
+ "rlp" : "0xe5800188800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithGasLimitOverflow63_1" : {
"blocknumber" : "3000000",
- "hash" : "55a13074f8c53be4c16746d477312806799d438723242d4bde93bca53c251e09",
- "rlp" : "0xe5800188800000000000000194095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
+ "rlp" : "0xe5018088800000000000000194095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
+ },
+ "TransactionWithGasLimitOverflow63_1_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "f16c962456a396bb4e7db041e908b245b550acc1d72c0435156a59059a2a95b6",
+ "rlp" : "0xe5808088800000000000000194095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x8000000000000001",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0b"
+ "value" : "0x00"
}
},
- "TransactionWithGasLimitxPriceOverflow" : {
+ "TransactionWithGasLimitOverflow63_gnv" : {
"blocknumber" : "3000000",
- "hash" : "e9520acea0c6d755f6656a8e111123d370b38cb5a38f3ab15f2e73198c3cd965",
- "rlp" : "0xf8458088016345785d8a0000a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
+ "hash" : "99ba08162581f8086c4fa0b1a14785e277cd01cb2f1e125268a753a7c9cee6f2",
+ "rlp" : "0xe5808088800000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
- "gasLimit" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
- "gasPrice" : "0x016345785d8a0000",
+ "gasLimit" : "0x8000000000000000",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
@@ -197,40 +220,35 @@
"value" : "0x00"
}
},
+ "TransactionWithGasLimitxPriceOverflow" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xf8458088016345785d8a0000a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
+ },
"TransactionWithGasLimitxPriceOverflow2" : {
"blocknumber" : "3000000",
- "hash" : "9c3eb393dc97e3df7bcc269a77ad73f6b7e63960d2925c900fb44dac062b4447",
- "rlp" : "0xe780873b9403b9403b5c8398968094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x989680",
- "gasPrice" : "0x3b9403b9403b5c",
- "nonce" : "0x00",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x00"
- }
+ "rlp" : "0xe780873b9403b9403b5c8398968094095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithGasPriceOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf84080a101000000000000000000000000000000000000000000000000000000000000000082520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
+ "rlp" : "0xf84080a101000000000000000000000000000000000000000000000000000000000000000082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithHighValueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf840800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a101000000000000000000000000000000000000000000000000000000000000000080018080"
+ "rlp" : "0xf840808082520894095e7baea6a6c7c4c2dfeb977efac326af552d87a101000000000000000000000000000000000000000000000000000000000000000080018080"
},
"TransactionWithHihghGasLimit63m1" : {
"blocknumber" : "3000000",
- "hash" : "50b062e8bc5dd5e8333e8dcda5cee3b4cf7f87b21d29f510867334ef5c06942a",
- "rlp" : "0xe58001887fffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
+ "rlp" : "0xe58001887fffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
+ },
+ "TransactionWithHihghGasLimit63m1_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "b048eca1173e6134e3500ef3b2b838596d70950cc7c35b03bc7d9cbbfb415f35",
+ "rlp" : "0xe58080887fffffffffffffff94095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x7fffffffffffffff",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
@@ -241,186 +259,125 @@
},
"TransactionWithHihghGasPrice" : {
"blocknumber" : "3000000",
- "hash" : "ccaf8be8e6858e7d98a1c6c77b8df5d134dffcd5f371a1c9b3bd4ed2e630b59b",
- "rlp" : "0xf83f80a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x5208",
- "gasPrice" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
- "nonce" : "0x00",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x00"
- }
+ "rlp" : "0xf83f80a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithHihghGasPrice2" : {
"blocknumber" : "3000000",
- "hash" : "ac541aba10d3229a904c0115f48f19b5f1dc458488d6eada0760856854bc896e",
- "rlp" : "0xe5808698852840a46f82d6d894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0xd6d8",
- "gasPrice" : "0x98852840a46f",
- "nonce" : "0x00",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x00"
- }
+ "rlp" : "0xe5808698852840a46f82d6d894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithHihghNonce256" : {
"blocknumber" : "3000000",
- "hash" : "fa9799e4692fc024f0eabb68e63d55682c7e1172c0926204a58f11db923a6bc7",
- "rlp" : "0xf83fa0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x5208",
- "gasPrice" : "0x01",
- "nonce" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x00"
- }
+ "rlp" : "0xf83fa0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithHihghNonce32" : {
"blocknumber" : "3000000",
- "hash" : "e85b157469f1e5558afb72f4933160cde888c9f12e9bae33edd2647b4cfb6763",
- "rlp" : "0xe48501000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x5208",
- "gasPrice" : "0x01",
- "nonce" : "0x0100000000",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0x00"
- }
+ "rlp" : "0xe48501000000008082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithHihghValue" : {
"blocknumber" : "3000000",
- "hash" : "e44e5e10edfc8001fc9fe6153e855226e5144fcbb61ef60f4e2aa4f9aaa9debb",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80018080",
- "sender" : "ffffffffffffffffffffffffffffffffffffffff",
- "transaction" : {
- "data" : "",
- "gasLimit" : "0x5208",
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "r" : "0x00",
- "s" : "0x00",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "v" : "0x01",
- "value" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
- }
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80018080"
},
"TransactionWithNonceOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf840a10100000000000000000000000000000000000000000000000000000000000000000182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
+ "rlp" : "0xf840a10100000000000000000000000000000000000000000000000000000000000000008082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080"
},
"TransactionWithRSvalue0" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b801b8080"
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780801b8080"
},
"TransactionWithRvalue0" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b801b8080"
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780801b8080"
},
"TransactionWithRvalue1" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80010180"
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080010180"
},
"TransactionWithRvalueHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414080"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d87808001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414080"
},
"TransactionWithRvalueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a2fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141000080"
+ "rlp" : "0xf841808082520894095e7baea6a6c7c4c2dfeb977efac326af552d87808001a2fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141000080"
},
"TransactionWithRvaluePrefixed00" : {
"blocknumber" : "3000000",
- "hash" : "7c6c5adf764cb5b6bae342244b84655b1b854738350876a1ec993b3abcd4c595",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
+ "hash" : "e107c9cb72f8d1e97a89cdbc6162446cfffa406f85270b05116e5a8dfc249c2d",
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x5208",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0b"
+ "value" : "0x00"
}
},
"TransactionWithRvalueTooHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b8001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414180"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d87808001a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414180"
},
"TransactionWithSvalue0" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b801b8080"
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780801b8080"
},
"TransactionWithSvalue1" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018001"
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018001"
},
"TransactionWithSvalueEqual_c_secp256k1n_x05" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
},
"TransactionWithSvalueHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
},
"TransactionWithSvalueLargerThan_c_secp256k1n_x05" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780800180a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
},
"TransactionWithSvalueOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a2fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
+ "rlp" : "0xf841808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780800180a2fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
},
"TransactionWithSvaluePrefixed00" : {
"blocknumber" : "3000000",
- "hash" : "7c6c5adf764cb5b6bae342244b84655b1b854738350876a1ec993b3abcd4c595",
- "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080",
+ "rlp" : "0xdf800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b80018080"
+ },
+ "TransactionWithSvaluePrefixed00_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "e107c9cb72f8d1e97a89cdbc6162446cfffa406f85270b05116e5a8dfc249c2d",
+ "rlp" : "0xdf808082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "",
"gasLimit" : "0x5208",
- "gasPrice" : "0x01",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x0000000000000000000000000000",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "0x01",
- "value" : "0x0b"
+ "value" : "0x00"
}
},
"TransactionWithSvalueTooHigh" : {
"blocknumber" : "3000000",
- "rlp" : "0xf83f800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870b800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
+ "rlp" : "0xf83f808082520894095e7baea6a6c7c4c2dfeb977efac326af552d8780800180a0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
},
"TransactionWithTooFewRLPElements" : {
"blocknumber" : "3000000",
- "rlp" : "0xdb800194095e7baea6a6c7c4c2dfeb977efac326af552d8780018080"
+ "rlp" : "0xdb808094095e7baea6a6c7c4c2dfeb977efac326af552d8780018080"
},
"TransactionWithTooManyRLPElements" : {
"blocknumber" : "3000000",
- "rlp" : "0xe5800182520894095e7baea6a6c7c4c2dfeb977efac326af552d870a80018080851de98d0edd"
+ "rlp" : "0xe5808082520894095e7baea6a6c7c4c2dfeb977efac326af552d878080018080851de98d0edd"
},
"V_overflow32bit" : {
"blocknumber" : "3000000",
@@ -430,47 +387,67 @@
"blocknumber" : "3000000",
"rlp" : "0xe5030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a825544847fffffff8080"
},
+ "V_overflow32bitSigned_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xe5808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b80825544847fffffff8080"
+ },
+ "V_overflow32bit_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xe6808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8082554485010000001b8080"
+ },
"V_overflow64bitPlus27" : {
"blocknumber" : "3000000",
"rlp" : "0xea03018255f094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8255448901000000000000001b8080"
},
+ "V_overflow64bitPlus27_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xea80808255f094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808255448901000000000000001b8080"
+ },
"V_overflow64bitPlus28" : {
"blocknumber" : "3000000",
"rlp" : "0xea03018255f094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8255448901000000000000001c8080"
},
+ "V_overflow64bitPlus28_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xea80808255f094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808255448901000000000000001c8080"
+ },
"V_overflow64bitSigned" : {
"blocknumber" : "3000000",
- "rlp" : "0xe9030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a82554488ffffffffffffff1c8080"
+ "rlp" : "0xe9808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8082554488ffffffffffffff1c8080"
},
"WrongVRSTestIncorrectSize" : {
"blocknumber" : "3000000",
- "rlp" : "0xf841800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8001a298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c380"
+ "rlp" : "0xf841808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b808001a298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c380"
},
"WrongVRSTestVEqual26" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801a8080"
+ "rlp" : "0xdf808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801a8080"
},
"WrongVRSTestVEqual29" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801d8080"
+ "rlp" : "0xdf808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801d8080"
},
"WrongVRSTestVEqual31" : {
"blocknumber" : "3000000",
- "rlp" : "0xdf800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801f8080"
+ "rlp" : "0xdf808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801f8080"
},
"WrongVRSTestVOverflow" : {
"blocknumber" : "3000000",
- "rlp" : "0xe1800182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a808201368080"
+ "rlp" : "0xe1808082520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b80808201368080"
},
"dataTx_bcValidBlockTest" : {
"blocknumber" : "3000000",
- "hash" : "e9583548f0116ee77d9544c7b937cae6f12cd76b7496496d5914e017ae79f22f",
- "rlp" : "0xf901bc8032830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56018080",
+ "rlp" : "0xf901bc0180830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56018080"
+ },
+ "dataTx_bcValidBlockTest_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "fb6a7e9ebe15dd1a396cfa86412c7544f6297e90f7fd1beb52d514e11fa88e62",
+ "rlp" : "0xf901bc8080830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",
"gasLimit" : "0x013880",
- "gasPrice" : "0x32",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
@@ -483,15 +460,23 @@
"blocknumber" : "3000000",
"rlp" : "0xe38080830f424094095e7baea6a6c7c4c2dfeb977efac326af552d87830186a0801b8080"
},
+ "invalidSignature_gnv" : {
+ "blocknumber" : "3000000",
+ "rlp" : "0xe08080830f424094095e7baea6a6c7c4c2dfeb977efac326af552d8780801b8080"
+ },
"libsecp256k1test" : {
"blocknumber" : "3000000",
- "hash" : "2a0313bad4c850f0bcdacdae1e62669ebabda4061851cf6c018eab132c945525",
- "rlp" : "0xd1808609184e72a00082f388808080018080",
+ "rlp" : "0xd1808609184e72a00082f388808080018080"
+ },
+ "libsecp256k1test_gnv" : {
+ "blocknumber" : "3000000",
+ "hash" : "d3dfa55d2786a42a969a0bc0cca98205678bdd557ddd20531909ff6aa5ef9b1d",
+ "rlp" : "0xcb808082f388808080018080",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" : {
"data" : "0x",
"gasLimit" : "0xf388",
- "gasPrice" : "0x09184e72a000",
+ "gasPrice" : "0x00",
"nonce" : "0x00",
"r" : "0x00",
"s" : "0x00",
diff --git a/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json b/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
index df1f31e50..1054a53a3 100644
--- a/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
+++ b/src/TransactionTestsFiller/Metropolis/ttMetropolisTestFiller.json
@@ -170,8 +170,26 @@
}
},
+ "ZeroSigTransaction_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "0",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionV1" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" :
@@ -188,6 +206,24 @@
}
},
+ "ZeroSigTransactionV1_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionV2" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -206,6 +242,24 @@
}
},
+ "ZeroSigTransactionV2_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "2",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionV3" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -224,6 +278,24 @@
}
},
+ "ZeroSigTransactionV3_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "3",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionV4" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -242,6 +314,24 @@
}
},
+ "ZeroSigTransactionV4_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "4",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransaction2" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -260,8 +350,26 @@
}
},
+ "ZeroSigTransaction2_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "0000000000",
+ "r" : "00000000000000",
+ "s" : "0000000000"
+ }
+ },
+
"ZeroSigTransaction3" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
"transaction" :
@@ -278,7 +386,7 @@
}
},
- "ZeroSigTransactionVp1" : {
+ "ZeroSigTransaction3_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"sender" : "ffffffffffffffffffffffffffffffffffffffff",
@@ -286,6 +394,24 @@
{
"data" : "0x",
"gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "1",
+ "r" : "00000000000000",
+ "s" : "0000000000"
+ }
+ },
+
+ "ZeroSigTransactionVp1" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
"gasPrice" : "1",
"nonce" : "3",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
@@ -296,6 +422,24 @@
}
},
+ "ZeroSigTransactionVp1_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "000000000001",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionVp2" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -314,6 +458,24 @@
}
},
+ "ZeroSigTransactionVp2_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "000000000002",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"ZeroSigTransactionVp3" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -332,6 +494,24 @@
}
},
+ "ZeroSigTransactionVp3_gnv" : {
+ "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",
@@ -348,5 +528,23 @@
"r" : "0",
"s" : "0"
}
+ },
+
+ "ZeroSigTransactionVp4_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "sender" : "ffffffffffffffffffffffffffffffffffffffff",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "51000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "000000000004",
+ "r" : "0",
+ "s" : "0"
+ }
}
}
diff --git a/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json b/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
index 92808fd30..76bbef54f 100644
--- a/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
+++ b/src/TransactionTestsFiller/Metropolis/ttTransactionTestZeroSigFiller.json
@@ -1,12 +1,12 @@
{
"RightVRSTest" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "0x",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "3",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "10",
@@ -16,6 +16,23 @@
}
},
+ "RightVRSTest_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "21000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"invalidSignature" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -32,6 +49,22 @@
}
},
+ "invalidSignature_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "1000000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "r" : "0",
+ "s" : "0",
+ "v": "27",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0"
+ }
+ },
+
"NotEnoughGasLimit" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -49,6 +82,23 @@
}
},
+ "NotEnoughGasLimit_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "20000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"V_overflow32bit" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -66,6 +116,23 @@
}
},
+ "V_overflow32bit_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "4294967323",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"V_overflow32bitSigned" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -83,6 +150,23 @@
}
},
+ "V_overflow32bitSigned_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "2147483647",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"V_overflow64bitPlus27" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -100,6 +184,23 @@
}
},
+ "V_overflow64bitPlus27_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "22000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "18446744073709551643",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"V_overflow64bitPlus28" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -117,6 +218,23 @@
}
},
+ "V_overflow64bitPlus28_gnv" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "22000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0",
+ "v" : "18446744073709551644",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"V_overflow64bitSigned" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -124,10 +242,10 @@
{
"data" : "0x5544",
"gasLimit" : "21000",
- "gasPrice" : "1",
- "nonce" : "3",
+ "gasPrice" : "0",
+ "nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "18446744073709551388",
"r" : "0",
"s" : "0"
@@ -141,10 +259,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "26",
"r" : "0",
"s" : "0"
@@ -158,10 +276,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "29",
"r" : "0",
"s" : "0"
@@ -175,10 +293,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "31",
"r" : "0",
"s" : "0"
@@ -192,10 +310,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "310",
"r" : "0",
"s" : "0"
@@ -209,10 +327,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3",
"s" : "0"
@@ -226,10 +344,10 @@
{
"data" : "0x0358ac39584bc98a7c979f984b03",
"gasLimit" : "21020",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -237,13 +355,13 @@
},
"DataTestEnoughGAS" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "0x0358ac39584bc98a7c979f984b03",
"gasLimit" : "23000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
@@ -253,17 +371,51 @@
}
},
+ "DataTestEnoughGAS_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x0358ac39584bc98a7c979f984b03",
+ "gasLimit" : "23000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"DataTestZeroBytes" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x000000000000000000000000000000000000000000000000000000000",
+ "gasLimit" : "25000",
+ "gasPrice" : "0",
+ "nonce" : "1",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "DataTestZeroBytes_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "0x000000000000000000000000000000000000000000000000000000000",
"gasLimit" : "25000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -271,7 +423,7 @@
},
"DataTestLastZeroBytes" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -280,18 +432,35 @@
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
}
},
- "DataTestFirstZeroBytes" : {
+ "DataTestLastZeroBytes_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction" :
{
+ "data" : "0x010000000000000000000000000000000000000000000000000000000",
+ "gasLimit" : "25000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "DataTestFirstZeroBytes" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
"data" : "0x000000000000000000000000001000000000000000000000000000000",
"gasLimit" : "25000",
"gasPrice" : "1",
@@ -304,6 +473,23 @@
}
},
+ "DataTestFirstZeroBytes_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "0x000000000000000000000000001000000000000000000000000000000",
+ "gasLimit" : "25000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"TransactionWithTooManyRLPElements" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -311,10 +497,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0",
@@ -328,7 +514,7 @@
"transaction" :
{
"data" : "",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"v" : "1",
@@ -338,13 +524,13 @@
},
"TransactionWithHihghValue" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
@@ -354,7 +540,6 @@
}
},
-
"TransactionWithHighValueOverflow" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -362,7 +547,7 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
@@ -379,10 +564,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
@@ -396,10 +581,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
@@ -413,10 +598,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
@@ -430,10 +615,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "27",
"r" : "0",
"s" : "0"
@@ -447,10 +632,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0x01"
@@ -464,10 +649,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
@@ -481,10 +666,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
@@ -498,10 +683,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000",
"s" : "0"
@@ -515,10 +700,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
"s" : "0"
@@ -532,10 +717,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
"s" : "0"
@@ -549,10 +734,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "27",
"r" : "0",
"s" : "0"
@@ -566,10 +751,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0x01",
"s" : "0"
@@ -583,10 +768,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "000000000000000000",
"s" : "0"
@@ -600,10 +785,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "27",
"r" : "0",
"s" : "0"
@@ -611,7 +796,7 @@
},
"TransactionWithSvaluePrefixed00" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -627,14 +812,31 @@
}
},
- "TransactionWithHihghNonce256" : {
+ "TransactionWithSvaluePrefixed00_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0x0000000000000000000000000000"
+ }
+ },
+
+ "TransactionWithHihghNonce256" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "0",
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
@@ -645,13 +847,13 @@
},
"TransactionWithHihghNonce32" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "4294967296",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0",
@@ -668,10 +870,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -679,7 +881,7 @@
},
"TransactionWithHihghGasLimit63m1" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -696,12 +898,30 @@
}
},
- "TransactionWithHihghGasPrice" : {
+ "TransactionWithHihghGasLimit63m1_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
+ "gasLimit" : "2^63 - 1",
+ "gasLimit" : "9223372036854775807",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "TransactionWithHihghGasPrice" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
"gasLimit" : "21000",
"gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"nonce" : "0",
@@ -714,7 +934,7 @@
},
"TransactionWithHihghGasPrice2" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -731,7 +951,7 @@
},
"TransactionWithGasLimitxPriceOverflow" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -748,7 +968,7 @@
},
"TransactionWithGasLimitxPriceOverflow2" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -774,7 +994,7 @@
"gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -788,10 +1008,10 @@
{
"data" : "",
"gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -799,7 +1019,7 @@
},
"TransactionWithGasLimitOverflow63" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -808,7 +1028,24 @@
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "TransactionWithGasLimitOverflow63_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "9223372036854775808",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -816,16 +1053,33 @@
},
"TransactionWithGasLimitOverflow63_1" : {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "9223372036854775809",
+ "gasPrice" : "0",
+ "nonce" : "1",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "TransactionWithGasLimitOverflow63_1_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
"gasLimit" : "9223372036854775809",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -833,14 +1087,14 @@
},
"TransactionWithGasLimitOverflow2" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
"data" : "",
"gasLimit" : "2^63",
"gasLimit" : "9223372036854775808",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
@@ -850,6 +1104,24 @@
}
},
+ "TransactionWithGasLimitOverflow2_gnv" : {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "2^63",
+ "gasLimit" : "9223372036854775808",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
"AddressMoreThan20PrefixedBy0" : {
"expect" : "invalid",
"blocknumber" : "3000000",
@@ -857,10 +1129,10 @@
{
"data" : "0x12",
"gasLimit" : "21000",
- "gasPrice" : "123",
- "nonce" : "54",
+ "gasPrice" : "0",
+ "nonce" : "0",
"to" : "0x0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "11",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -891,10 +1163,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -908,10 +1180,10 @@
{
"data" : "",
"gasLimit" : "21000",
- "gasPrice" : "1",
+ "gasPrice" : "0",
"nonce" : "0",
"to" : "b9331677e6ebf",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
@@ -919,7 +1191,7 @@
},
"AddressLessThan20Prefixed0" : {
- "expect" : "valid",
+ "expect" : "invalid",
"blocknumber" : "3000000",
"transaction" :
{
@@ -928,16 +1200,33 @@
"gasPrice" : "1",
"nonce" : "0",
"to" : "0x000000000000000000000000000b9331677e6ebf",
- "value" : "10",
+ "value" : "0",
"v" : "1",
"r" : "0",
"s" : "0"
}
},
- "libsecp256k1test": {
+ "AddressLessThan20Prefixed0_gnv" : {
"expect" : "valid",
"blocknumber" : "3000000",
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "to" : "0x000000000000000000000000000b9331677e6ebf",
+ "value" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0"
+ }
+ },
+
+ "libsecp256k1test": {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
"transaction": {
"nonce": "0",
"gasPrice": "0x09184e72a000",
@@ -951,12 +1240,44 @@
}
},
+ "libsecp256k1test_gnv": {
+ "expect" : "valid",
+ "blocknumber" : "3000000",
+ "transaction": {
+ "nonce": "0",
+ "gasPrice": "0",
+ "gasLimit": "0xf388",
+ "to": "",
+ "data": "0x",
+ "r": "0",
+ "s": "0",
+ "v": "1",
+ "value": "0"
+ }
+ },
+
"dataTx_bcValidBlockTest": {
+ "expect" : "invalid",
+ "blocknumber" : "3000000",
+ "transaction": {
+ "nonce": "1",
+ "gasPrice": "0",
+ "gasLimit": "80000",
+ "to": "",
+ "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",
+ "r" : "0",
+ "s" : "0",
+ "v": "1",
+ "value": "0"
+ }
+ },
+
+ "dataTx_bcValidBlockTest_gnv": {
"expect" : "valid",
"blocknumber" : "3000000",
"transaction": {
"nonce": "0",
- "gasPrice": "50",
+ "gasPrice": "0",
"gasLimit": "80000",
"to": "",
"data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",