From 2a2d8c2ed1297ef0f56d12752dd135491cfe96c5 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 23 Mar 2017 12:38:45 +0300 Subject: zeroSig transaction test fillers --- .../zeroSigTransacrionCreateFiller.json | 93 ++++++++++++++++++++++ .../zeroSigTransacrionCreatePrice0Filler.json | 93 ++++++++++++++++++++++ .../zeroSigTransaction0PriceFiller.json | 92 +++++++++++++++++++++ .../zeroSigTransactionFiller.json | 92 +++++++++++++++++++++ .../zeroSigTransactionInvChainIDFiller.json | 62 +++++++++++++++ .../zeroSigTransactionInvNonceFiller.json | 92 +++++++++++++++++++++ .../zeroSigTransactionOOGFiller.json | 62 +++++++++++++++ 7 files changed, 586 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json new file mode 100644 index 000000000..f7acd36a3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json @@ -0,0 +1,93 @@ +{ + "zeroSigTransacrionCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [1,2,3], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x01", + "nonce" : "0x01" + } + } + } + ], + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "", + "value" : [ + "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json new file mode 100644 index 000000000..bf1fefee1 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json @@ -0,0 +1,93 @@ +{ + "zeroSigTransacrionCreatePrice0" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [1,2], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0,3], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x01", + "nonce" : "0x01" + } + } + } + ], + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "", + "value" : [ + "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json new file mode 100644 index 000000000..740db9d0f --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json @@ -0,0 +1,92 @@ +{ + "zeroSigTransaction0Price" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json new file mode 100644 index 000000000..6bd737a8c --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json @@ -0,0 +1,92 @@ +{ + "zeroSigTransaction" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [1,2,3], + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json new file mode 100644 index 000000000..87099575d --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json @@ -0,0 +1,62 @@ +{ + "zeroSigTransactionInvChainID" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "10", + "v" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json new file mode 100644 index 000000000..730166c84 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json @@ -0,0 +1,92 @@ +{ + "zeroSigTransactionInvNonce" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "10", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json new file mode 100644 index 000000000..c5bbe6811 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json @@ -0,0 +1,62 @@ +{ + "zeroSigTransactionOOG" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} -- cgit From f5f929f33bcc3e6b4d2908346dbbdd614bf50571 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 28 Mar 2017 16:43:32 +0400 Subject: correct zeroSigTransaction structure tests to eip #208 --- TransactionTests/Metropolis/ttMetropolisTest.json | 79 +++- .../Metropolis/ttTransactionTestZeroSig.json | 349 +++++++------- .../Metropolis/ttMetropolisTestFiller.json | 204 ++++++++- .../Metropolis/ttTransactionTestZeroSigFiller.json | 503 +++++++++++++++++---- 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,11 +386,29 @@ } }, - "ZeroSigTransactionVp1" : { + "ZeroSigTransaction3_gnv" : { "expect" : "valid", "blocknumber" : "3000000", "sender" : "ffffffffffffffffffffffffffffffffffffffff", "transaction" : + { + "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", @@ -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,17 +432,34 @@ "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", @@ -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,10 +898,28 @@ } }, - "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", @@ -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", -- cgit From 0d7e2ba8a2c72831696e8bcd09ce0cedeb01e027 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 29 Mar 2017 15:28:22 +0400 Subject: zeroSig Transaction state tests --- .../zeroSigTransacrionCreate.json | 374 +++++++++++ .../zeroSigTransacrionCreatePrice0.json | 374 +++++++++++ .../stTransactionTest/zeroSigTransaction.json | 702 +++++++++++++++++++++ .../zeroSigTransaction0Price.json | 702 +++++++++++++++++++++ .../zeroSigTransactionInvChainID.json | 541 ++++++++++++++++ .../zeroSigTransactionInvNonce.json | 541 ++++++++++++++++ .../zeroSigTransactionInvNonce2.json | 541 ++++++++++++++++ .../stTransactionTest/zeroSigTransactionOOG.json | 702 +++++++++++++++++++++ .../zeroSigTransacrionCreateFiller.json | 30 +- .../zeroSigTransacrionCreatePrice0Filler.json | 24 +- .../zeroSigTransaction0PriceFiller.json | 35 +- .../zeroSigTransactionFiller.json | 41 +- .../zeroSigTransactionInvChainIDFiller.json | 9 +- .../zeroSigTransactionInvNonce2Filler.json | 83 +++ .../zeroSigTransactionInvNonceFiller.json | 29 +- .../zeroSigTransactionOOGFiller.json | 27 +- 16 files changed, 4704 insertions(+), 51 deletions(-) create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransaction.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json create mode 100644 GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json new file mode 100644 index 000000000..1d75f263a --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json @@ -0,0 +1,374 @@ +{ + "zeroSigTransacrionCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "ebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ] + }, + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "20000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "", + "v" : "0x01", + "value" : [ + "0" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json new file mode 100644 index 000000000..38a625f53 --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json @@ -0,0 +1,374 @@ +{ + "zeroSigTransacrionCreatePrice0" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "fb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "fb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + } + ] + }, + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x64", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "20000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "", + "v" : "0x01", + "value" : [ + "0" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json new file mode 100644 index 000000000..4b65e8a72 --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json @@ -0,0 +1,702 @@ +{ + "zeroSigTransaction" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "20000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json new file mode 100644 index 000000000..182a209c9 --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json @@ -0,0 +1,702 @@ +{ + "zeroSigTransaction0Price" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "bb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "20000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json new file mode 100644 index 000000000..30c3cf29a --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json @@ -0,0 +1,541 @@ +{ + "zeroSigTransactionInvChainID" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x00", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json new file mode 100644 index 000000000..18f607a3a --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json @@ -0,0 +1,541 @@ +{ + "zeroSigTransactionInvNonce" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "c60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x0a", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json new file mode 100644 index 000000000..cc9eb1091 --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json @@ -0,0 +1,541 @@ +{ + "zeroSigTransactionInvNonce2" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x01", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json new file mode 100644 index 000000000..6af269aa1 --- /dev/null +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json @@ -0,0 +1,702 @@ +{ + "zeroSigTransactionOOG" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + } + ] + }, + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x00", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", + "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", + "20000", + "21000", + "121000" + ], + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", + "value" : [ + "0", + "1" + ] + } + } +} \ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json index f7acd36a3..08b3fc53f 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json @@ -19,7 +19,10 @@ "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -32,34 +35,43 @@ "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { "indexes" : { "data" : [0], - "gas" : [1,2,3], + "gas" : [1,2], "value" : -1 }, "network" : ["Metropolis"], "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { "indexes" : { "data" : [0], - "gas" : [0], + "gas" : [0,3], "value" : -1 }, "network" : ["Metropolis"], "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "balance" : "0x01", + "balance" : "0x00", "nonce" : "0x01" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -79,14 +91,14 @@ "gasLimit" : [ "60000", "20000", "21000", "121000" ], - "gasPrice" : "1", + "gasPrice" : "0", "nonce" : "0", "v" : "1", "r" : "0", "s" : "0", "to" : "", "value" : [ - "1" + "0" ] } } diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json index bf1fefee1..189fead65 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json @@ -19,7 +19,10 @@ "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -32,7 +35,10 @@ "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -45,7 +51,10 @@ "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { "shouldnotexist" : "1" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -57,9 +66,12 @@ "network" : ["Metropolis"], "result" : { "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "balance" : "0x01", + "balance" : "0x00", "nonce" : "0x01" - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -86,7 +98,7 @@ "s" : "0", "to" : "", "value" : [ - "1" + "0" ] } } diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json index 740db9d0f..dec145b7b 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json @@ -21,7 +21,10 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -36,14 +39,17 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { "indexes" : { "data" : -1, "gas" : [0,3], - "value" : -1 + "value" : 0 }, "network" : ["Metropolis"], "result" : { @@ -51,7 +57,28 @@ "storage" : { "0x00" : "0x01" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "value" : 1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json index 6bd737a8c..58ac55dd5 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json @@ -12,7 +12,7 @@ { "indexes" : { "data" : -1, - "gas" : [1,2,3], + "gas" : [1,2], "value" : -1 }, "network" : ["ALL"], @@ -21,7 +21,10 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { @@ -36,14 +39,17 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { "indexes" : { "data" : -1, - "gas" : [0], - "value" : -1 + "gas" : [0,3], + "value" : 0 }, "network" : ["Metropolis"], "result" : { @@ -51,7 +57,28 @@ "storage" : { "0x00" : "0x01" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0], + "value" : 1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -78,7 +105,7 @@ "gasLimit" : [ "60000", "20000", "21000", "121000" ], - "gasPrice" : "1", + "gasPrice" : "0", "nonce" : "0", "v" : "1", "r" : "0", diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json index 87099575d..6211d4b87 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json @@ -21,7 +21,10 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -48,8 +51,8 @@ "gasLimit" : [ "60000", "21000", "121000" ], - "gasPrice" : "1", - "nonce" : "10", + "gasPrice" : "0", + "nonce" : "0", "v" : "0", "r" : "0", "s" : "0", diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json new file mode 100644 index 000000000..586da08b8 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json @@ -0,0 +1,83 @@ +{ + "zeroSigTransactionInvNonce2" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "1", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "1", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json index 730166c84..105e1c3b0 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json @@ -21,13 +21,16 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } }, { "indexes" : { "data" : -1, - "gas" : [1,2], + "gas" : -1, "value" : -1 }, "network" : ["Metropolis"], @@ -36,22 +39,10 @@ "storage" : { "0x00" : "0x00" } - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : [0], - "value" : -1 - }, - "network" : ["Metropolis"], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01" - } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -78,7 +69,7 @@ "gasLimit" : [ "60000", "21000", "121000" ], - "gasPrice" : "1", + "gasPrice" : "0", "nonce" : "10", "v" : "1", "r" : "0", diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json index c5bbe6811..3e74db2f7 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json @@ -12,7 +12,7 @@ { "indexes" : { "data" : -1, - "gas" : -1, + "gas" : [1,2], "value" : -1 }, "network" : ["ALL"], @@ -21,7 +21,28 @@ "storage" : { "0x00" : "0x00" } - } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [3,0], + "value" : 0 + }, + "network" : ["Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } } } ], @@ -48,7 +69,7 @@ "gasLimit" : [ "60000", "20000", "21000", "121000" ], - "gasPrice" : "1", + "gasPrice" : "0", "nonce" : "0", "v" : "1", "r" : "0", -- cgit From 0935b75c157c802eb9f82c7d8418a31df2a38eeb Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 4 Apr 2017 12:31:52 +0400 Subject: do not include sender in the final test if transaction is invalid --- .../EIP155/ttTransactionTestEip155VitaliksTests.json | 9 +++------ .../Homestead/ttTransactionTestEip155VitaliksTests.json | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/TransactionTests/EIP155/ttTransactionTestEip155VitaliksTests.json b/TransactionTests/EIP155/ttTransactionTestEip155VitaliksTests.json index b050629b2..9313b112e 100644 --- a/TransactionTests/EIP155/ttTransactionTestEip155VitaliksTests.json +++ b/TransactionTests/EIP155/ttTransactionTestEip155VitaliksTests.json @@ -103,18 +103,15 @@ }, "Vitalik_15" : { "blocknumber" : "2675000", - "rlp" : "0xf8651280830493e094000000000000000000000000000000000000000180856d6f6f736529a0376d0277dd3a2a9229dbcb5530b532c7e4cb0f821e0ca27d9acb940970d500d8a00ab2798f9d9c2f7551eb29d56878f8e342b45ca45f413b0fcba793d094f36f2b", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651280830493e094000000000000000000000000000000000000000180856d6f6f736529a0376d0277dd3a2a9229dbcb5530b532c7e4cb0f821e0ca27d9acb940970d500d8a00ab2798f9d9c2f7551eb29d56878f8e342b45ca45f413b0fcba793d094f36f2b" }, "Vitalik_16" : { "blocknumber" : "2675000", - "rlp" : "0xf8651380830493e094000000000000000000000000000000000000001280856d6f6f73652aa0d0e340578f9d733986f6a55c5401953c90f7ccd46fe72d5588592dd9cbdf1e03a001d8d63149bd986f363084ac064e8387850d80e5238cc16ed4d30fd0a5af7261", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651380830493e094000000000000000000000000000000000000001280856d6f6f73652aa0d0e340578f9d733986f6a55c5401953c90f7ccd46fe72d5588592dd9cbdf1e03a001d8d63149bd986f363084ac064e8387850d80e5238cc16ed4d30fd0a5af7261" }, "Vitalik_17" : { "blocknumber" : "2675000", - "rlp" : "0xf8651480830493e094000000000000000000000000000000000000002280856d6f6f73652aa04bc84887af29d2b159ee290dee793bdba34079428f48699e9fc92a7e12d4aeafa063b9d78c5a36f96454fe2d5c1eb7c0264f6273afdc0ba28dd9a8f00eadaf7476", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651480830493e094000000000000000000000000000000000000002280856d6f6f73652aa04bc84887af29d2b159ee290dee793bdba34079428f48699e9fc92a7e12d4aeafa063b9d78c5a36f96454fe2d5c1eb7c0264f6273afdc0ba28dd9a8f00eadaf7476" }, "Vitalik_2" : { "blocknumber" : "2675000", diff --git a/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json b/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json index afe6c6da3..1aefa45f9 100644 --- a/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json +++ b/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json @@ -64,18 +64,15 @@ }, "Vitalik_15" : { "blocknumber" : "1150000", - "rlp" : "0xf8651280830493e094000000000000000000000000000000000000000180856d6f6f736529a0376d0277dd3a2a9229dbcb5530b532c7e4cb0f821e0ca27d9acb940970d500d8a00ab2798f9d9c2f7551eb29d56878f8e342b45ca45f413b0fcba793d094f36f2b", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651280830493e094000000000000000000000000000000000000000180856d6f6f736529a0376d0277dd3a2a9229dbcb5530b532c7e4cb0f821e0ca27d9acb940970d500d8a00ab2798f9d9c2f7551eb29d56878f8e342b45ca45f413b0fcba793d094f36f2b" }, "Vitalik_16" : { "blocknumber" : "1150000", - "rlp" : "0xf8651380830493e094000000000000000000000000000000000000001280856d6f6f73652aa0d0e340578f9d733986f6a55c5401953c90f7ccd46fe72d5588592dd9cbdf1e03a001d8d63149bd986f363084ac064e8387850d80e5238cc16ed4d30fd0a5af7261", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651380830493e094000000000000000000000000000000000000001280856d6f6f73652aa0d0e340578f9d733986f6a55c5401953c90f7ccd46fe72d5588592dd9cbdf1e03a001d8d63149bd986f363084ac064e8387850d80e5238cc16ed4d30fd0a5af7261" }, "Vitalik_17" : { "blocknumber" : "1150000", - "rlp" : "0xf8651480830493e094000000000000000000000000000000000000002280856d6f6f73652aa04bc84887af29d2b159ee290dee793bdba34079428f48699e9fc92a7e12d4aeafa063b9d78c5a36f96454fe2d5c1eb7c0264f6273afdc0ba28dd9a8f00eadaf7476", - "sender" : "3c24d7329e92f84f08556ceb6df1cdb0104ca49f" + "rlp" : "0xf8651480830493e094000000000000000000000000000000000000002280856d6f6f73652aa04bc84887af29d2b159ee290dee793bdba34079428f48699e9fc92a7e12d4aeafa063b9d78c5a36f96454fe2d5c1eb7c0264f6273afdc0ba28dd9a8f00eadaf7476" }, "Vitalik_2" : { "blocknumber" : "1150000", -- cgit From 784eacb609e6c7754e034706ddaa4957dc45d054 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 4 Apr 2017 12:41:29 +0400 Subject: remove sender on invalid transactions in Metropolis --- TransactionTests/Metropolis/ttMetropolisTest.json | 57 ++++++++--------------- 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/TransactionTests/Metropolis/ttMetropolisTest.json b/TransactionTests/Metropolis/ttMetropolisTest.json index aaf8b9045..d9ee8c389 100644 --- a/TransactionTests/Metropolis/ttMetropolisTest.json +++ b/TransactionTests/Metropolis/ttMetropolisTest.json @@ -37,23 +37,19 @@ }, "ZeroSigTransaction" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080" }, "ZeroSigTransaction2" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80808080" }, "ZeroSigTransaction2_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080" }, "ZeroSigTransaction3" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080" }, "ZeroSigTransaction3_gnv" : { "blocknumber" : "3000000", @@ -74,8 +70,7 @@ }, "ZeroSigTransactionV1" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080" }, "ZeroSigTransactionV1_gnv" : { "blocknumber" : "3000000", @@ -96,38 +91,31 @@ }, "ZeroSigTransactionV2" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080" }, "ZeroSigTransactionV2_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080" }, "ZeroSigTransactionV3" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080" }, "ZeroSigTransactionV3_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080038080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080038080" }, "ZeroSigTransactionV4" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080" }, "ZeroSigTransactionV4_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080" }, "ZeroSigTransactionVp1" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80018080" }, "ZeroSigTransactionVp1_gnv" : { "blocknumber" : "3000000", @@ -148,37 +136,30 @@ }, "ZeroSigTransactionVp2" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80028080" }, "ZeroSigTransactionVp2_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080028080" }, "ZeroSigTransactionVp3" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080" }, "ZeroSigTransactionVp3_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80038080" }, "ZeroSigTransactionVp4" : { "blocknumber" : "3000000", - "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf030182c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80048080" }, "ZeroSigTransactionVp4_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080048080" }, "ZeroSigTransaction_gnv" : { "blocknumber" : "3000000", - "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080", - "sender" : "ffffffffffffffffffffffffffffffffffffffff" + "rlp" : "0xdf808082c73894b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080808080" } } \ No newline at end of file -- cgit