From 0d7e2ba8a2c72831696e8bcd09ce0cedeb01e027 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 29 Mar 2017 15:28:22 +0400 Subject: [PATCH] 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 ++++++++++++++ .../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 00000000000..1d75f263a5d --- /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 00000000000..38a625f53dd --- /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 00000000000..4b65e8a728d --- /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 00000000000..182a209c9fa --- /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 00000000000..30c3cf29a9f --- /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 00000000000..18f607a3a9c --- /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 00000000000..cc9eb1091c6 --- /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 00000000000..6af269aa1ff --- /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 f7acd36a349..08b3fc53f54 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 bf1fefee15b..189fead6575 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 740db9d0ff5..dec145b7bde 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 6bd737a8c3f..58ac55dd50d 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 87099575d94..6211d4b8747 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 00000000000..586da08b8e4 --- /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 730166c84c7..105e1c3b08b 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 c5bbe681180..3e74db2f70b 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",