From f71c2688e1a839f8429f7e94ec5e56bb182d82cf Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 09:11:00 +0300 Subject: regenerate hive tests --- .../stTransactionTest/ContractStoreClearsOOG.json | 119 +-- .../ContractStoreClearsSuccess.json | 107 +- .../stTransactionTest/CreateMessageReverted.json | 107 +- .../stTransactionTest/CreateMessageSuccess.json | 109 +- .../CreateTransactionReverted.json | 94 +- .../CreateTransactionSuccess.json | 143 +-- .../stTransactionTest/EmptyTransaction.json | 94 +- .../stTransactionTest/EmptyTransaction2.json | 155 +-- .../stTransactionTest/EmptyTransaction3.json | 138 +-- .../stTransactionTest/HighGasLimit.json | 96 +- .../InternalCallHittingGasLimit.json | 113 +- .../InternalCallHittingGasLimit2.json | 113 +- .../InternalCallHittingGasLimitSuccess.json | 114 +- .../InternlCallStoreClearsOOG.json | 132 ++- .../InternlCallStoreClearsSucces.json | 122 +-- .../stTransactionTest/OverflowGasRequire.json | 94 +- .../stTransactionTest/OverflowGasRequire2.json | 94 +- .../stTransactionTest/RefundOverflow.json | 94 +- .../stTransactionTest/RefundOverflow2.json | 94 +- .../StoreClearsAndInternlCallStoreClearsOOG.json | 136 ++- ...toreClearsAndInternlCallStoreClearsSuccess.json | 124 +-- .../stTransactionTest/StoreGasOnCreate.json | 120 +-- ...icidesAndInternlCallSuicidesBonusGasAtCall.json | 130 ++- ...AndInternlCallSuicidesBonusGasAtCallFailed.json | 112 +- .../SuicidesAndInternlCallSuicidesOOG.json | 118 +-- .../SuicidesAndInternlCallSuicidesSuccess.json | 164 +-- ...SuicidesAndSendMoneyToItselfEtherDestroyed.json | 124 +-- .../stTransactionTest/SuicidesMixingCoinbase.json | 166 ++- .../SuicidesStopAfterSuicide.json | 119 +-- .../stTransactionTest/TransactionDataCosts652.json | 95 +- ...ransactionFromCoinbaseHittingBlockGasLimit.json | 95 +- ...ansactionFromCoinbaseHittingBlockGasLimit1.json | 96 +- .../TransactionFromCoinbaseNotEnoughFounds.json | 95 +- .../stTransactionTest/TransactionNonceCheck.json | 95 +- .../stTransactionTest/TransactionNonceCheck2.json | 95 +- .../TransactionSendingToEmpty.json | 113 +- .../TransactionSendingToZero.json | 98 +- .../TransactionToAddressh160minusOne.json | 93 +- .../stTransactionTest/TransactionToItself.json | 96 +- .../TransactionToItselfNotEnoughFounds.json | 95 +- ...serTransactionGasLimitIsTooLowWhenZeroCost.json | 96 +- .../stTransactionTest/UserTransactionZeroCost.json | 139 +-- .../UserTransactionZeroCostWithData.json | 172 ++- .../zeroSigTransacrionCreate.json | 626 +++-------- .../zeroSigTransacrionCreatePrice0.json | 627 +++-------- .../stTransactionTest/zeroSigTransaction.json | 1101 ++------------------ .../zeroSigTransaction0Price.json | 780 ++------------ .../zeroSigTransactionInvChainID.json | 558 +--------- .../zeroSigTransactionInvNonce.json | 577 ++-------- .../zeroSigTransactionInvNonce2.json | 577 ++-------- .../stTransactionTest/zeroSigTransactionOOG.json | 783 ++------------ .../zeroSigTransactionOrigin.json | 612 ++--------- .../zeroSigTransactionToZero.json | 1051 ++----------------- .../zeroSigTransactionToZero2.json | 992 +++++------------- 54 files changed, 3081 insertions(+), 10121 deletions(-) (limited to 'GeneralStateTests/stTransactionTest') diff --git a/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json index 203fadb27..7a0341f95 100644 --- a/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json @@ -2,83 +2,62 @@ "ContractStoreClearsOOG" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0186a0", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "100000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } } } - ], - "EIP158" : [ - { - "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x7530", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "30000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xd2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "0x00", - "code" : "0x600060005560006001556000600255600060035560006004556000600555600060065560006007556000600855600c600955", - "nonce" : "0x00", + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 12)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -96,14 +75,14 @@ "" ], "gasLimit" : [ - "0x59d8" + "23000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xd2571607e241ecf590ed94b12d87c94babe36db6", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "d2571607e241ecf590ed94b12d87c94babe36db6", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json b/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json index 066400e25..6779cb22f 100644 --- a/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json +++ b/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json @@ -2,83 +2,50 @@ "ContractStoreClearsSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "10", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0222e0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "140000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xd2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "0x00", - "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", - "nonce" : "0x00", + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -96,14 +63,14 @@ "" ], "gasLimit" : [ - "0x01fbd0" + "130000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xd2571607e241ecf590ed94b12d87c94babe36db6", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "d2571607e241ecf590ed94b12d87c94babe36db6", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateMessageReverted.json b/GeneralStateTests/stTransactionTest/CreateMessageReverted.json index 139504049..483fb2808 100644 --- a/GeneralStateTests/stTransactionTest/CreateMessageReverted.json +++ b/GeneralStateTests/stTransactionTest/CreateMessageReverted.json @@ -2,81 +2,50 @@ "CreateMessageReverted" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0xe8d4a51000", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x7530", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "30000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x64600c6000556000526005601b6000f0", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{(MSTORE 0 0x600c600055) (CREATE 0 27 5)}", + "nonce" : "0", "storage" : { } } @@ -86,14 +55,14 @@ "" ], "gasLimit" : [ - "0x557a" + "21882" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x64" + "100" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json b/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json index 4ea8c4f07..cabea9fa0 100644 --- a/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json +++ b/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json @@ -2,81 +2,52 @@ "CreateMessageSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0xe8d4a51000", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100", + "nonce" : "1" + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "storage" : { + "0x" : "0x0c" + } } } - ], - "EIP158" : [ - { - "hash" : "0x08c7dbdb0a5e0632c0c52b1bb4f89b154c719aa2acf88a54588cd67416005b3b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x08c7dbdb0a5e0632c0c52b1bb4f89b154c719aa2acf88a54588cd67416005b3b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x061a80", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x64600c6000556000526005601b6000f0", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{(MSTORE 0 0x600c600055) (CREATE 0 27 5)}", + "nonce" : "0", "storage" : { } } @@ -86,14 +57,14 @@ "" ], "gasLimit" : [ - "0x02032a" + "131882" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x64" + "100" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json b/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json index 679ea507f..948d8666a 100644 --- a/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json +++ b/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json @@ -2,74 +2,40 @@ "CreateTransactionReverted" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0xe8d4a51000", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "132000", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0203a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "132000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "0x602280600c6000396000f30060e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56" ], "gasLimit" : [ - "0x5c7f" + "23679" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json b/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json index fb908077a..b875e2b61 100644 --- a/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json +++ b/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json @@ -2,74 +2,101 @@ "CreateTransactionSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0xe8d4a51000", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xa0b82485d35279240c14e3d39dc992f4fe8af2e630902afe6c45c58f58ee2011", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "100", + "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", + "nonce" : "0", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0x1059918f27d169135bee2387b01c9b62a0ebbd145c07d0a2651a7cd20af3b2e0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "100", + "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", + "nonce" : "0", + "storage" : { + } } } - ], - "Frontier" : [ - { - "hash" : "0x7d12ba0d5a88efcfc293ed4a5f877db891be20380c0483f1800f19786c35dce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP158" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "100", + "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", + "nonce" : "1", + "storage" : { + } } } - ], - "Homestead" : [ - { - "hash" : "0xa0b82485d35279240c14e3d39dc992f4fe8af2e630902afe6c45c58f58ee2011", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "100", + "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", + "nonce" : "1", + "storage" : { + } } } - ], - "Metropolis" : [ - { - "hash" : "0x1059918f27d169135bee2387b01c9b62a0ebbd145c07d0a2651a7cd20af3b2e0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +106,14 @@ "0x602280600c6000396000f30060e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56" ], "gasLimit" : [ - "0x011170" + "70000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x64" + "100" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction.json b/GeneralStateTests/stTransactionTest/EmptyTransaction.json index f89522559..4ca8b814e 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction.json @@ -2,74 +2,40 @@ "EmptyTransaction" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x00" + "" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction2.json b/GeneralStateTests/stTransactionTest/EmptyTransaction2.json index 01c4da7df..6873cc82c 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction2.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction2.json @@ -2,74 +2,113 @@ "EmptyTransaction2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x2d2b88bc228443c611081f7db686b82a1beebe9d0fc79ce5e9604666e0b39fd0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "nonce" : "0" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "1" } } - ], - "Frontier" : [ - { - "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP158" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "shouldnotexist" : "1" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "1" } } - ], - "Metropolis" : [ - { - "hash" : "0x2d2b88bc228443c611081f7db686b82a1beebe9d0fc79ce5e9604666e0b39fd0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "shouldnotexist" : "1" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "1" } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +118,14 @@ "" ], "gasLimit" : [ - "0xd6d8" + "55000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction3.json b/GeneralStateTests/stTransactionTest/EmptyTransaction3.json index 79d9fa7e1..a2d4d92ee 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction3.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction3.json @@ -2,74 +2,92 @@ "EmptyTransaction3" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "21000" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "79000", + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xcf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "53000" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "47000", + "nonce" : "1" } } - ], - "Metropolis" : [ - { - "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "53000" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "47000", + "nonce" : "1" } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +97,14 @@ "" ], "gasLimit" : [ - "0xd6d8" + "55000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/HighGasLimit.json b/GeneralStateTests/stTransactionTest/HighGasLimit.json index 3949e49ec..5e04c5558 100644 --- a/GeneralStateTests/stTransactionTest/HighGasLimit.json +++ b/GeneralStateTests/stTransactionTest/HighGasLimit.json @@ -2,74 +2,42 @@ "HighGasLimit" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "EIP158" : [ - { - "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +47,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "0x1000000000000000" + "1152921504606846976" ], - "gasPrice" : "0x07", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "7", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0384" + "900" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json index 55f0f7f91..7e5cac4ff 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json @@ -2,88 +2,55 @@ "InternalCallHittingGasLimit" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x55f0", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "22000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", - "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b611388f1", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", + "code" : "{ (CALL 5000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6037600155", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{[[1]]55}", + "nonce" : "0", "storage" : { } } @@ -93,14 +60,14 @@ "" ], "gasLimit" : [ - "0x526c" + "21100" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json index 02f692475..d34419bb7 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json @@ -2,88 +2,55 @@ "InternalCallHittingGasLimit2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0xba96", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "47766", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x1313600c23f63593b77fc8aca5a6fc20ef894a44e323554f65f2939af28d5e27", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x1313600c23f63593b77fc8aca5a6fc20ef894a44e323554f65f2939af28d5e27", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b6161a8f1", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (CALL 25000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6037600155", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{[[1]]55}", + "nonce" : "0", "storage" : { } } @@ -93,14 +60,14 @@ "" ], "gasLimit" : [ - "0xba96" + "47766" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json index f3f395a04..922fa9fb0 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json @@ -2,88 +2,56 @@ "InternalCallHittingGasLimitSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x035b60", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "220000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "storage" : { + "0x01" : "0x37" + } } } - ], - "EIP158" : [ - { - "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x679ac548468089b4ada3dab4ada7c97b8ea6c6bf46bdaf117b7cf0ad1c7c2a83", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x679ac548468089b4ada3dab4ada7c97b8ea6c6bf46bdaf117b7cf0ad1c7c2a83", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b6161a8f1", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (CALL 25000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6037600155", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{[[1]]55}", + "nonce" : "0", "storage" : { } } @@ -93,14 +61,14 @@ "" ], "gasLimit" : [ - "0x0249f0" + "150000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json index 198254660..beacd4c63 100644 --- a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json @@ -2,76 +2,59 @@ "InternlCallStoreClearsOOG" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "20" } } - ], - "EIP158" : [ - { - "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x2ad48fd172154544728a6ab6729ced747f40205158e83444b5e59697fc83cc3e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x2ad48fd172154544728a6ab6729ced747f40205158e83444b5e59697fc83cc3e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -83,17 +66,18 @@ "0x09" : "0x0c" } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x600060006000600060016000619c40f1", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "//" : "gas = 19 going OOG, gas = 20 fine", + "balance" : "10", + "code" : "{ (CALL 40000 0 1 0 0 0 0) }", + "nonce" : "0", "storage" : { } } @@ -103,14 +87,14 @@ "" ], "gasLimit" : [ - "0x027100" + "160000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json index 65db0730d..a14befd7b 100644 --- a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json +++ b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json @@ -2,76 +2,49 @@ "InternlCallStoreClearsSucces" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "1", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "19" } } - ], - "EIP158" : [ - { - "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -83,17 +56,18 @@ "0x09" : "0x0c" } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x600060006000600060016000620186a0f1", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "//" : "gas = 19 going OOG, gas = 20 fine", + "balance" : "10", + "code" : "{ (CALL 100000 0 1 0 0 0 0) }", + "nonce" : "0", "storage" : { } } @@ -103,14 +77,14 @@ "" ], "gasLimit" : [ - "0x027100" + "160000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/OverflowGasRequire.json b/GeneralStateTests/stTransactionTest/OverflowGasRequire.json index 16545dc1a..e8c55d4df 100644 --- a/GeneralStateTests/stTransactionTest/OverflowGasRequire.json +++ b/GeneralStateTests/stTransactionTest/OverflowGasRequire.json @@ -2,74 +2,40 @@ "OverflowGasRequire" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "0x0100000000000000000000000000000000000000000000000000" + "1606938044258990275541962092341162602522202993782792835301376" ], - "gasPrice" : "0x0a00000000000000", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "720575940379279360", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json b/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json index 668368979..38d381839 100644 --- a/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json +++ b/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json @@ -2,74 +2,40 @@ "OverflowGasRequire2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913127916415", + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x7f450a15a566a5af02d0cfd23bada4f0f6963d85c1a20f33eb8dffe2b55262f2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x7f450a15a566a5af02d0cfd23bada4f0f6963d85c1a20f33eb8dffe2b55262f2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "0x1000000000000000" + "1152921504606846976" ], - "gasPrice" : "0x50", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "80", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/RefundOverflow.json b/GeneralStateTests/stTransactionTest/RefundOverflow.json index 8c94ff033..89adcac79 100644 --- a/GeneralStateTests/stTransactionTest/RefundOverflow.json +++ b/GeneralStateTests/stTransactionTest/RefundOverflow.json @@ -2,74 +2,40 @@ "RefundOverflow" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0190", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x066666666666667a" + "461168601842738810" ], - "gasPrice" : "0x14", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "20", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/RefundOverflow2.json b/GeneralStateTests/stTransactionTest/RefundOverflow2.json index 914bd354c..ec1550df5 100644 --- a/GeneralStateTests/stTransactionTest/RefundOverflow2.json +++ b/GeneralStateTests/stTransactionTest/RefundOverflow2.json @@ -2,74 +2,40 @@ "RefundOverflow2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0190", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x066666666666667a" + "461168601842738810" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x00" + "0" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json index 60e590e9f..4889d3ed7 100644 --- a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json @@ -2,76 +2,62 @@ "StoreClearsAndInternlCallStoreClearsOOG" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "20", + "storage" : { + "0x04" : "0x0c" + } } } - ], - "EIP158" : [ - { - "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x860acf740a21f4aa3656c5d77e74502a3dba158b1abc35e74b2d0a8143382a7e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x860acf740a21f4aa3656c5d77e74502a3dba158b1abc35e74b2d0a8143382a7e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -83,19 +69,19 @@ "0x09" : "0x0c" } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x07a120", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "500000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x6000600055600060015560006002556000600355600060006000600060016000614e20f1", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0) (CALL 20000 0 1 0 0 0 0) }", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -108,14 +94,14 @@ "" ], "gasLimit" : [ - "0x030d40" + "200000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json index 79daea0e9..3027280e5 100644 --- a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json +++ b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json @@ -2,76 +2,49 @@ "StoreClearsAndInternlCallStoreClearsSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "1", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "19", + "storage" : { + "0x04" : "0x0c" + } } } - ], - "EIP158" : [ - { - "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xb5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xb5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -83,19 +56,20 @@ "0x09" : "0x0c" } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x07a120", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "500000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x600060005560006001556000600255600060035560006000600060006001600061c350f1", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "//" : "gas = 19 going OOG, gas = 20 fine", + "balance" : "10", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0) (CALL 50000 0 1 0 0 0 0) }", + "nonce" : "0", "storage" : { - "0x00" : "0x0c", + "0x" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -108,14 +82,14 @@ "" ], "gasLimit" : [ - "0x030d40" + "200000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json index c3851963f..811b4a302 100644 --- a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json +++ b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json @@ -2,81 +2,67 @@ "StoreGasOnCreate" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x981251c50c9eaf41a1b1c05b9e396999e16dda2117366dfc6435e930f9024a6b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "storage" : { + "0xfd" : "0x01340b" + } } } - ], - "EIP158" : [ - { - "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150", + "EIP158" + ], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "storage" : { + "0xfd" : "0x012f3b" + } } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x061a80", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "400000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x635a60fd556000526004601c6000f0", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (MSTORE 0 0x5a60fd55) (CREATE 0 28 4)}", + "nonce" : "0", "storage" : { } } @@ -86,14 +72,14 @@ "" ], "gasLimit" : [ - "0x02032a" + "131882" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x64" + "100" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json index 6de387e73..da859a26c 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json @@ -2,88 +2,76 @@ "SuicidesAndInternlCallSuicidesBonusGasAtCall" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "0000000000000000000000000000000000000001" : { + "balance" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150", + "EIP158" + ], + "result" : { + "0000000000000000000000000000000000000001" : { + "shouldnotexist" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" } } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6001ff", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x6000600060006000600160006000f1506000ff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "{(CALL 0 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", + "nonce" : "0", "storage" : { } } @@ -93,14 +81,14 @@ "" ], "gasLimit" : [ - "0xc350" + "50000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json index e88818813..194ef4427 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json @@ -2,88 +2,54 @@ "SuicidesAndInternlCallSuicidesBonusGasAtCallFailed" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "20", + "code" : "0x6001ff" } } - ], - "EIP158" : [ - { - "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6001ff", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x6000600060006000600060006000f1506000ff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "{(CALL 0 0x0000000000000000000000000000000000000000 0 0 0 0 0) (SELFDESTRUCT 0)}", + "nonce" : "0", "storage" : { } } @@ -93,14 +59,14 @@ "" ], "gasLimit" : [ - "0xc350" + "50000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json index c3e6a250f..9aa4fde57 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json @@ -2,88 +2,60 @@ "SuicidesAndInternlCallSuicidesOOG" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "0x6001ff" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10" } } - ], - "EIP158" : [ - { - "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6001ff", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0a", - "code" : "0x6000600060006000600160006155f0f1506000ff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "{(CALL 22000 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", + "nonce" : "0", "storage" : { } } @@ -93,14 +65,14 @@ "" ], "gasLimit" : [ - "0xc350" + "50000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json index 6f0f449c5..20e49567c 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json @@ -2,128 +2,74 @@ "SuicidesAndInternlCallSuicidesSuccess" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "storage" : { + } } } - ], - "Homestead" : [ - { - "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 + "network" : [ + "EIP150", + "EIP158" + ], + "result" : { + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "storage" : { + } } } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6001ff", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x02bf20", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "180000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x03e8", - "code" : "0x600060006000600060016000600035f1506000ff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000", + "code" : "{(CALL (CALLDATALOAD 0) 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", + "nonce" : "0", "storage" : { } } @@ -134,14 +80,14 @@ "0x000000000000000000000000000000000000000000000000000000000000aaf0" ], "gasLimit" : [ - "0x0249f0" + "150000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json b/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json index 96798cfd0..d2ddd1616 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json @@ -2,81 +2,71 @@ "SuicidesAndSendMoneyToItselfEtherDestroyed" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "111488", + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10502" } } - ], - "EIP158" : [ - { - "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x6dd22dec58b209e1234c1fbfab5251329a95e1a708723ea9a5aad999967be8cd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x6dd22dec58b209e1234c1fbfab5251329a95e1a708723ea9a5aad999967be8cd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150", + "EIP158" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "108988", + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "13002" } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x01dc90", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "122000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x03e8", - "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000", + "code" : "{(SELFDESTRUCT 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b)}", + "nonce" : "0", "storage" : { } } @@ -86,14 +76,14 @@ "" ], "gasLimit" : [ - "0x7bd4" + "31700" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json index c30d4490a..85b5724fa 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json +++ b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json @@ -2,121 +2,75 @@ "SuicidesMixingCoinbase" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 }, - { - "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1010" } } - ], - "Homestead" : [ - { - "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 }, - { - "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 + "network" : [ + "EIP150", + "EIP158" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1010" } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x035b60", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "220000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x03e8", - "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000", + "code" : "{(SELFDESTRUCT 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b)}", + "nonce" : "0", "storage" : { } } @@ -126,15 +80,15 @@ "" ], "gasLimit" : [ - "0x54c4", - "0xea60" + "21700", + "60000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json b/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json index 1d135204e..3b3125490 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json +++ b/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json @@ -2,88 +2,61 @@ "SuicidesStopAfterSuicide" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json" }, "env" : { - "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0186a0", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "100000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "code" : "0x6001ff", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xdc9bf412e9770d2c1500b0be40f27b91d966320ea211c96f34faba0d4d7fb2c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xdc9bf412e9770d2c1500b0be40f27b91d966320ea211c96f34faba0d4d7fb2c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x0456", - "code" : "0x6001ff", - "nonce" : "0x00", + "0000000000000000000000000000000000000000" : { + "balance" : "1110", + "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x01dc90", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "122000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x2710", - "code" : "0x6000ff", - "nonce" : "0x00", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000", + "code" : "{(SELFDESTRUCT 0) (CALL 30000 0x0000000000000000000000000000000000000000 0 0 0 0 0) }", + "nonce" : "0", "storage" : { } } @@ -93,14 +66,14 @@ "" ], "gasLimit" : [ - "0x0146f4" + "83700" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json b/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json index eb4cbfdd8..2b5f1f4a4 100644 --- a/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json +++ b/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json @@ -2,74 +2,39 @@ "TransactionDataCosts652" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "21652" } } - ], - "EIP158" : [ - { - "hash" : "0x8dca95be8393071025319ae78d7804a6ec176d716711c8bff783950d11cad4bb", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x8dca95be8393071025319ae78d7804a6ec176d716711c8bff783950d11cad4bb", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "0x00000000000000000000112233445566778f32" ], "gasLimit" : [ - "0x55f0" + "22000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x00" + "0" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json index d8bfa8844..905abb2f6 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json @@ -2,74 +2,39 @@ "TransactionFromCoinbaseHittingBlockGasLimit" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x526c", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "21100", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10" } } - ], - "EIP158" : [ - { - "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x526c" + "21100" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json index 2a148af33..cfa6aca06 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json @@ -2,74 +2,40 @@ "TransactionFromCoinbaseHittingBlockGasLimit1" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json" }, "env" : { - "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x526c", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "21100", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x526d" + "21101" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json index 738e7d76a..5d4a9caab 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json @@ -2,74 +2,39 @@ "TransactionFromCoinbaseNotEnoughFounds" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json" }, "env" : { - "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x01adb0", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "110000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "22000" } } - ], - "EIP158" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x55f0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "22000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x5460" + "21600" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x1388" + "5000" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json b/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json index 5b0af16d2..2637daf8c 100644 --- a/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json +++ b/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json @@ -2,74 +2,39 @@ "TransactionNonceCheck" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "10" } } - ], - "EIP158" : [ - { - "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x0a", + "nonce" : "10", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x55f0" + "22000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json b/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json index 1bf1c7082..dad192aeb 100644 --- a/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json +++ b/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json @@ -2,74 +2,39 @@ "TransactionNonceCheck2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x05f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "100000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x55f0" + "22000" ], - "gasPrice" : "0x01", - "nonce" : "0x0a", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "10", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0a" + "10" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json b/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json index e4ee87788..963d6df5c 100644 --- a/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json +++ b/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json @@ -2,74 +2,63 @@ "TransactionSendingToEmpty" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP158", + "EIP150" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xcf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "code" : "0x" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "Metropolis" : [ - { - "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +68,14 @@ "" ], "gasLimit" : [ - "0xcf08" + "53000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "0x00" + "" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json b/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json index 91f5ecb49..4c9e4419d 100644 --- a/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json +++ b/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json @@ -2,74 +2,42 @@ "TransactionSendingToZero" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +47,14 @@ "" ], "gasLimit" : [ - "0x61a8" + "25000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0x0000000000000000000000000000000000000000", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0000000000000000000000000000000000000000", "value" : [ - "0x01" + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json b/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json index 135dd40bf..c4484ab9a 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json +++ b/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json @@ -2,74 +2,39 @@ "TransactionToAddressh160minusOne" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0186a0", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "100000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100" } } - ], - "EIP158" : [ - { - "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x55f0" + "22000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "0xffffffffffffffffffffffffffffffffffffffff", "value" : [ - "0x64" + "100" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToItself.json b/GeneralStateTests/stTransactionTest/TransactionToItself.json index 07aedbbbf..7448ca484 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToItself.json +++ b/GeneralStateTests/stTransactionTest/TransactionToItself.json @@ -2,74 +2,40 @@ "TransactionToItself" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "79000", + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0186a0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x61a8" + "25000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x01" + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json b/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json index 1a4dc087b..c2a13c327 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json +++ b/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json @@ -2,74 +2,39 @@ "TransactionToItselfNotEnoughFounds" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "1000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "22000" } } - ], - "EIP158" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x55f0", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "22000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +44,14 @@ "" ], "gasLimit" : [ - "0x5460" + "21600" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x1388" + "5000" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json b/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json index 1e0263955..830eed242 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json @@ -2,74 +2,40 @@ "UserTransactionGasLimitIsTooLowWhenZeroCost" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x05f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "100000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "33000", + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x80e8", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "33000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +45,14 @@ "" ], "gasLimit" : [ - "0x0c" + "12" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0384" + "900" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json b/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json index 67e5d3a1e..48513b1a9 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json @@ -2,74 +2,91 @@ "UserTransactionZeroCost" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "42100", + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "EIP158" : [ - { - "hash" : "0x6fa96e06aa7cafbd86e0d99b4cbd4b2924eb3e5c8d66eccba3b11a2c93907652", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP150" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "nonce" : "0" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "42100", + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "Homestead" : [ - { - "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "EIP158" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "42100", + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "Metropolis" : [ - { - "hash" : "0x6fa96e06aa7cafbd86e0d99b4cbd4b2924eb3e5c8d66eccba3b11a2c93907652", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xa7f8", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "43000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -79,14 +96,14 @@ "" ], "gasLimit" : [ - "0x891c" + "35100" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0384" + "900" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json index 23d39512c..c55e0f43a 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json @@ -2,114 +2,88 @@ "UserTransactionZeroCostWithData" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "Homestead" : [ - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 + "network" : [ + "EIP150" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "nonce" : "0" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ], - "Metropolis" : [ - { - "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 + "network" : [ + "EIP158" + ], + "result" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "900" } } - ] - }, + } + ], "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x020788", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "133000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -119,15 +93,15 @@ "0x3240349548983454" ], "gasLimit" : [ - "0x7f58", - "0xea60" + "32600", + "60000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0x0384" + "900" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json index 3edccdf2e..5c7703ef2 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json @@ -2,514 +2,138 @@ "zeroSigTransacrionCreate" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP158", + "EIP150" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 1 + ], + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Frontier" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 0 + ], + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Homestead" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 0 + ], + "gas" : [ + 0, + 3 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0x0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x8d486aa40ba989a61868aa75f97b3b7e722cec7963356ae46dde3e4b48b6b94d", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 2 + ], + "gas" : [ + 3 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x01" : "0xffffffffffffffffffffffffffffffffffffffff" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ] - }, + } + ], "pre" : { - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -521,19 +145,19 @@ "0x3260005533600155" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", "to" : "", - "v" : "0x01", + "v" : "1", "value" : [ - "0x00" + "0" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json index e4e621c32..c656e0456 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json @@ -2,514 +2,139 @@ "zeroSigTransacrionCreatePrice0" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP158", + "EIP150" + ], + "result" : { + "96b19ced219f86286c413422a6698a7439d1fa52" : { + "shouldnotexist" : "1" + }, + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 1 + ], + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Frontier" : [ - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 0 + ], + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Homestead" : [ - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 0 + ], + "gas" : [ + 0, + 3 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", - "indexes" : { - "data" : 2, - "gas" : 3, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 2 + ], + "gas" : [ + 0, + 3 + ], + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ] - }, + } + ], "pre" : { - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x64", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -521,19 +146,19 @@ "0x6000" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", "to" : "", - "v" : "0x01", + "v" : "1", "value" : [ - "0x00" + "0" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json index 883a767ed..09f472249 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransaction.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json @@ -2,1001 +2,122 @@ "zeroSigTransaction" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Homestead" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 0, + 3 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 0 + ], + "value" : 1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -1007,21 +128,21 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "1", "value" : [ - "0x00", - "0x01", - "0x0186a0" + "0", + "1", + "100000" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json index 02d459dd6..0c0b2f929 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json @@ -2,681 +2,123 @@ "zeroSigTransaction0Price" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Homestead" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 0, + 3 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 0, + 3 + ], + "value" : 1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -687,20 +129,20 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "1", "value" : [ - "0x00", - "0x01" + "0", + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json index 2f8d64f39..38a4b713a 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json @@ -2,521 +2,51 @@ "zeroSigTransactionInvChainID" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "ALL" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Homestead" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -527,19 +57,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x5208", - "0x01d8a8" + "60000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x00", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0", "value" : [ - "0x00", - "0x01" + "0", + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json index 3d76bed01..a12362f35 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json @@ -2,521 +2,74 @@ "zeroSigTransactionInvNonce" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "EIP158" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Homestead" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP158", + "EIP150" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -527,19 +80,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x5208", - "0x01d8a8" + "60000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x0a", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "10", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "1", "value" : [ - "0x00", - "0x01" + "0", + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json index d60b9ea9e..b98a973fc 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json @@ -2,521 +2,74 @@ "zeroSigTransactionInvNonce2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "EIP158" : [ - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - } - ], - "Homestead" : [ - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP158", + "EIP150" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" } } - ], - "Metropolis" : [ - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" } } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x01", + "nonce" : "1", "storage" : { } } @@ -527,19 +80,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x5208", - "0x01d8a8" + "60000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x01", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "1", "value" : [ - "0x00", - "0x01" + "0", + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json index 8fe8e7701..0ecaf37a5 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json @@ -2,681 +2,126 @@ "zeroSigTransactionOOG" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "EIP158" : [ - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : 0, + "gas" : [ + 1 + ], + "value" : -1 + }, + "network" : [ + "EIP158", + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Homestead" : [ - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : 1, + "gas" : [ + 1, + 2 + ], + "value" : -1 + }, + "network" : [ + "EIP158", + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" } } - ], - "Metropolis" : [ - { - "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd506140af993cf273f1e9984a13cd06c1d469640180a5b5a78907e75ae230098", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 3, + 0 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "shouldnotexist" : "1" } } - ] - }, + } + ], "pre" : { - "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x6001600055", - "nonce" : "0x00", + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x00", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -687,20 +132,20 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "1", "value" : [ - "0x00", - "0x01" + "0", + "1" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json index 47deb242c..3f21c6752 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json @@ -2,521 +2,109 @@ "zeroSigTransactionOrigin" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOriginFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - } - ], - "EIP158" : [ - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [ + 0, + 3 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x01" : "0xffffffffffffffffffffffffffffffffffffffff" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Frontier" : [ - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - } - ], - "Homestead" : [ - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 1, + 2 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0", + "0x01" : "0" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Metropolis" : [ - { - "hash" : "0xf2399d4632dfd83a0e73d9612af1e7b9c251d135bc3aa2762a337f6f058bc780", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xf2399d4632dfd83a0e73d9612af1e7b9c251d135bc3aa2762a337f6f058bc780", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ] - }, + } + ], "pre" : { - "0x1000000000000000000000000000000000000000" : { - "balance" : "0x0186a0", - "code" : "0x3260005533600155", - "nonce" : "0x00", + "1000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[0]] (ORIGIN) [[1]] (CALLER) }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -526,21 +114,21 @@ "" ], "gasLimit" : [ - "0x011170", - "0x4e20", - "0x5208", - "0x01d8a8" + "70000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0x1000000000000000000000000000000000000000", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "1000000000000000000000000000000000000000", + "v" : "1", "value" : [ - "0x00", - "0x01", - "0x0186a0" + "0", + "1", + "100000" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json index c3f130520..2dc753cac 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json @@ -2,994 +2,65 @@ "zeroSigTransactionToZero" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZeroFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Frontier" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 - } - } - ], - "Homestead" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 0, - "gas" : 3, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 2 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 0 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 1 - } - }, - { - "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", - "indexes" : { - "data" : 1, - "gas" : 3, - "value" : 2 - } - } - ] - }, + } + ], "pre" : { - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -1000,21 +71,21 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "0xea60", - "0x4e20", - "0x5208", - "0x01d8a8" + "60000", + "20000", + "21000", + "121000" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xffffffffffffffffffffffffffffffffffffffff", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "ffffffffffffffffffffffffffffffffffffffff", + "v" : "1", "value" : [ - "0x00", - "0x01", - "0x0186a0" + "0", + "1", + "100000" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json index 553806994..3ce7ea3aa 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json @@ -2,782 +2,260 @@ "zeroSigTransactionToZero2" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : 1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "EIP158" : [ - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 1 + }, + { + "indexes" : { + "data" : [ + 0 + ], + "gas" : [ + 0 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Frontier" : [ - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 1 + }, + { + "indexes" : { + "data" : [ + 1 + ], + "gas" : [ + 0 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Homestead" : [ - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 1 + }, + { + "indexes" : { + "data" : [ + 2 + ], + "gas" : [ + 0 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ], - "Metropolis" : [ - { - "hash" : "0xb6b2051acd54464e50d02d05cb0ab705337e273629d075b4d692ba91dccfd946", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 0, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0x2b9305b474b366b3d49b618a7861f3c08bfe13881dcb0b5416dd37842730ad82", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 1, - "gas" : 2, - "value" : 1 - } - }, - { - "hash" : "0xbb83b7336c217b045b81eea2fdf484d903403c3d5f06f99c6ebdc5e2d07e9df5", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 0 + }, + { + "indexes" : { + "data" : -1, + "gas" : [ + 1, + 2 + ], + "value" : 0 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } - }, - { - "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", - "indexes" : { - "data" : 2, - "gas" : 2, - "value" : 1 + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } } } - ] - }, + } + ], "pre" : { - "0x1000000000000000000000000000000000000000" : { - "balance" : "0x0186a0", - "code" : "0x60006000600060003473ffffffffffffffffffffffffffffffffffffffff5af16001553260025533600355", - "nonce" : "0x00", + "1000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (CALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", "storage" : { } }, - "0x2000000000000000000000000000000000000000" : { - "balance" : "0x0186a0", - "code" : "0x60006000600060003473ffffffffffffffffffffffffffffffffffffffff5af26001553260025533600355", - "nonce" : "0x00", + "2000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (CALLCODE (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", "storage" : { } }, - "0x3000000000000000000000000000000000000000" : { - "balance" : "0x0186a0", - "code" : "0x600060006000600073ffffffffffffffffffffffffffffffffffffffff5af46001553260025533600355", - "nonce" : "0x00", + "3000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (DELEGATECALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", "storage" : { } }, - "0xa000000000000000000000000000000000000000" : { - "balance" : "0x0186a0", - "code" : "0x6000600060006000346000355af1600055", - "nonce" : "0x00", + "a000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[0]](CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0xffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0x0186a0", + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -789,19 +267,19 @@ "0x0000000000000000000000003000000000000000000000000000000000000000" ], "gasLimit" : [ - "0x0927c0", - "0x4e20", - "0x00" + "600000", + "20000", + "0" ], - "gasPrice" : "0x00", - "nonce" : "0x00", - "r" : "0x00", - "s" : "0x00", - "to" : "0xa000000000000000000000000000000000000000", - "v" : "0x01", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "to" : "a000000000000000000000000000000000000000", + "v" : "1", "value" : [ - "0x00", - "0x64" + "0", + "100" ] } } -- cgit From 78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 11:04:30 +0300 Subject: update general tests --- .../stTransactionTest/ContractStoreClearsOOG.json | 127 +- .../ContractStoreClearsSuccess.json | 117 +- .../stTransactionTest/CreateMessageReverted.json | 115 +- .../stTransactionTest/CreateMessageSuccess.json | 117 +- .../CreateTransactionReverted.json | 104 +- .../CreateTransactionSuccess.json | 159 ++- .../stTransactionTest/EmptyTransaction.json | 104 +- .../stTransactionTest/EmptyTransaction2.json | 161 +-- .../stTransactionTest/EmptyTransaction3.json | 142 +-- .../stTransactionTest/HighGasLimit.json | 104 +- .../InternalCallHittingGasLimit.json | 123 +- .../InternalCallHittingGasLimit2.json | 123 +- .../InternalCallHittingGasLimitSuccess.json | 124 +- .../InternlCallStoreClearsOOG.json | 138 +- .../InternlCallStoreClearsSucces.json | 128 +- .../stTransactionTest/OverflowGasRequire.json | 104 +- .../stTransactionTest/OverflowGasRequire2.json | 104 +- .../stTransactionTest/RefundOverflow.json | 104 +- .../stTransactionTest/RefundOverflow2.json | 104 +- .../StoreClearsAndInternlCallStoreClearsOOG.json | 142 ++- ...toreClearsAndInternlCallStoreClearsSuccess.json | 132 +- .../stTransactionTest/StoreGasOnCreate.json | 132 +- ...icidesAndInternlCallSuicidesBonusGasAtCall.json | 138 +- ...AndInternlCallSuicidesBonusGasAtCallFailed.json | 122 +- .../SuicidesAndInternlCallSuicidesOOG.json | 124 +- .../SuicidesAndInternlCallSuicidesSuccess.json | 186 ++- ...SuicidesAndSendMoneyToItselfEtherDestroyed.json | 132 +- .../stTransactionTest/SuicidesMixingCoinbase.json | 180 ++- .../SuicidesStopAfterSuicide.json | 125 +- .../stTransactionTest/TransactionDataCosts652.json | 105 +- ...ransactionFromCoinbaseHittingBlockGasLimit.json | 105 +- ...ansactionFromCoinbaseHittingBlockGasLimit1.json | 106 +- .../TransactionFromCoinbaseNotEnoughFounds.json | 105 +- .../stTransactionTest/TransactionNonceCheck.json | 105 +- .../stTransactionTest/TransactionNonceCheck2.json | 105 +- .../TransactionSendingToEmpty.json | 121 +- .../TransactionSendingToZero.json | 106 +- .../TransactionToAddressh160minusOne.json | 103 +- .../stTransactionTest/TransactionToItself.json | 106 +- .../TransactionToItselfNotEnoughFounds.json | 105 +- ...serTransactionGasLimitIsTooLowWhenZeroCost.json | 106 +- .../stTransactionTest/UserTransactionZeroCost.json | 143 +-- .../UserTransactionZeroCostWithData.json | 186 ++- .../zeroSigTransacrionCreate.json | 754 +++++++++-- .../zeroSigTransacrionCreatePrice0.json | 755 +++++++++-- .../stTransactionTest/zeroSigTransaction.json | 1347 ++++++++++++++++++-- .../zeroSigTransaction0Price.json | 946 ++++++++++++-- .../zeroSigTransactionInvChainID.json | 678 +++++++++- .../zeroSigTransactionInvNonce.json | 699 +++++++++- .../zeroSigTransactionInvNonce2.json | 699 +++++++++- .../stTransactionTest/zeroSigTransactionOOG.json | 949 ++++++++++++-- .../zeroSigTransactionOrigin.json | 736 +++++++++-- .../zeroSigTransactionToZero.json | 1293 ++++++++++++++++++- .../zeroSigTransactionToZero2.json | 1182 +++++++++++++---- 54 files changed, 12280 insertions(+), 3080 deletions(-) (limited to 'GeneralStateTests/stTransactionTest') diff --git a/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json index 7a0341f95..1e20978ac 100644 --- a/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/ContractStoreClearsOOG.json @@ -6,58 +6,89 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "100000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0186a0", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "d2571607e241ecf590ed94b12d87c94babe36db6" : { - "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" - } - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xd58cdfde7bf06a7f91ab36dc0fb0710ba8a9275390553616ff29f7366882bb26", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "30000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x7530", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "d2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 12)}", - "nonce" : "0", + "0xd2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "0x00", + "code" : "0x600060005560006001556000600255600060035560006004556000600555600060065560006007556000600855600c600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -75,14 +106,14 @@ "" ], "gasLimit" : [ - "23000" + "0x59d8" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "d2571607e241ecf590ed94b12d87c94babe36db6", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xd2571607e241ecf590ed94b12d87c94babe36db6", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json b/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json index 6779cb22f..3ff9961e6 100644 --- a/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json +++ b/GeneralStateTests/stTransactionTest/ContractStoreClearsSuccess.json @@ -6,46 +6,89 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "d2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "10", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "140000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0222e0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "d2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", - "nonce" : "0", + "0xd2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "0x00", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -63,14 +106,14 @@ "" ], "gasLimit" : [ - "130000" + "0x01fbd0" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "d2571607e241ecf590ed94b12d87c94babe36db6", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xd2571607e241ecf590ed94b12d87c94babe36db6", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateMessageReverted.json b/GeneralStateTests/stTransactionTest/CreateMessageReverted.json index 483fb2808..504498e1f 100644 --- a/GeneralStateTests/stTransactionTest/CreateMessageReverted.json +++ b/GeneralStateTests/stTransactionTest/CreateMessageReverted.json @@ -6,46 +6,87 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "nonce" : "0" - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x6f792258c5a1e152c931e3af3e0ef180ad7ed52c1f84380f2beb660177e22c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "30000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x7530", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{(MSTORE 0 0x600c600055) (CREATE 0 27 5)}", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x64600c6000556000526005601b6000f0", + "nonce" : "0x00", "storage" : { } } @@ -55,14 +96,14 @@ "" ], "gasLimit" : [ - "21882" + "0x557a" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "100" + "0x64" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json b/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json index cabea9fa0..b665f386d 100644 --- a/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json +++ b/GeneralStateTests/stTransactionTest/CreateMessageSuccess.json @@ -6,48 +6,87 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100", - "nonce" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "storage" : { - "0x" : "0x0c" - } - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x08c7dbdb0a5e0632c0c52b1bb4f89b154c719aa2acf88a54588cd67416005b3b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x08c7dbdb0a5e0632c0c52b1bb4f89b154c719aa2acf88a54588cd67416005b3b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x061a80", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{(MSTORE 0 0x600c600055) (CREATE 0 27 5)}", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x64600c6000556000526005601b6000f0", + "nonce" : "0x00", "storage" : { } } @@ -57,14 +96,14 @@ "" ], "gasLimit" : [ - "131882" + "0x02032a" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "100" + "0x64" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json b/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json index 948d8666a..921845dc2 100644 --- a/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json +++ b/GeneralStateTests/stTransactionTest/CreateTransactionReverted.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "132000", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x9b14f6a3389ec380ae31529f0b6c4ba09010cd9553c900c7c0bb47207ff47177", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "132000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0203a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "0x602280600c6000396000f30060e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56" ], "gasLimit" : [ - "23679" + "0x5c7f" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json b/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json index b875e2b61..eed034b59 100644 --- a/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json +++ b/GeneralStateTests/stTransactionTest/CreateTransactionSuccess.json @@ -6,97 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "balance" : "100", - "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", - "nonce" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0xa0b82485d35279240c14e3d39dc992f4fe8af2e630902afe6c45c58f58ee2011", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "balance" : "100", - "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", - "nonce" : "0", - "storage" : { - } - } + ], + "EIP158" : [ + { + "hash" : "0x1059918f27d169135bee2387b01c9b62a0ebbd145c07d0a2651a7cd20af3b2e0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP158" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "balance" : "100", - "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", - "nonce" : "1", - "storage" : { - } - } + ], + "Frontier" : [ + { + "hash" : "0x7d12ba0d5a88efcfc293ed4a5f877db891be20380c0483f1800f19786c35dce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "balance" : "100", - "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", - "nonce" : "1", - "storage" : { - } - } + ], + "Homestead" : [ + { + "hash" : "0xa0b82485d35279240c14e3d39dc992f4fe8af2e630902afe6c45c58f58ee2011", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "Metropolis" : [ + { + "hash" : "0x1059918f27d169135bee2387b01c9b62a0ebbd145c07d0a2651a7cd20af3b2e0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -106,14 +89,14 @@ "0x602280600c6000396000f30060e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56" ], "gasLimit" : [ - "70000" + "0x011170" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "100" + "0x64" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction.json b/GeneralStateTests/stTransactionTest/EmptyTransaction.json index 4ca8b814e..6acdf798b 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "" + "0x00" ], - "gasPrice" : "", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x00", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction2.json b/GeneralStateTests/stTransactionTest/EmptyTransaction2.json index 6873cc82c..5d1d45d9f 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction2.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction2.json @@ -6,109 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0" + "post" : { + "EIP150" : [ + { + "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "nonce" : "0" - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + ], + "EIP158" : [ + { + "hash" : "0x2d2b88bc228443c611081f7db686b82a1beebe9d0fc79ce5e9604666e0b39fd0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP158" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "shouldnotexist" : "1" - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + ], + "Frontier" : [ + { + "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "shouldnotexist" : "1" + ], + "Homestead" : [ + { + "hash" : "0x7c9b70b846a70a1731baf76adc6ffc016628cdabb8b5e9b4ab84f5134dc6ac89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x2d2b88bc228443c611081f7db686b82a1beebe9d0fc79ce5e9604666e0b39fd0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "1" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -118,14 +89,14 @@ "" ], "gasLimit" : [ - "55000" + "0xd6d8" ], - "gasPrice" : "", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x00", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/EmptyTransaction3.json b/GeneralStateTests/stTransactionTest/EmptyTransaction3.json index a2d4d92ee..bed399f02 100644 --- a/GeneralStateTests/stTransactionTest/EmptyTransaction3.json +++ b/GeneralStateTests/stTransactionTest/EmptyTransaction3.json @@ -6,88 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "21000" + "post" : { + "EIP150" : [ + { + "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "79000", - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "53000" + ], + "EIP158" : [ + { + "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xcf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "47000", - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "53000" + ], + "Homestead" : [ + { + "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "47000", - "nonce" : "1" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -97,14 +89,14 @@ "" ], "gasLimit" : [ - "55000" + "0xd6d8" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/HighGasLimit.json b/GeneralStateTests/stTransactionTest/HighGasLimit.json index 5e04c5558..b130edbd0 100644 --- a/GeneralStateTests/stTransactionTest/HighGasLimit.json +++ b/GeneralStateTests/stTransactionTest/HighGasLimit.json @@ -6,38 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x21c449a88c31cdfc758f8cfcdd080f1bb23d184737c62abd5192d079b5d69a30", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -47,14 +89,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "1152921504606846976" + "0x1000000000000000" ], - "gasPrice" : "7", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x07", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "900" + "0x0384" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json index 7e5cac4ff..8129323a2 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit.json @@ -6,51 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "22000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x55f0", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x6930ba06a213125880c1a12a18ad56614bbb8d56d94599781965c83379db8ce2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", - "code" : "{ (CALL 5000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", + "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b611388f1", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{[[1]]55}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6037600155", + "nonce" : "0x00", "storage" : { } } @@ -60,14 +103,14 @@ "" ], "gasLimit" : [ - "21100" + "0x526c" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json index d34419bb7..48a83fb88 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimit2.json @@ -6,51 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json" }, "env" : { - "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "47766", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xba96", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x1313600c23f63593b77fc8aca5a6fc20ef894a44e323554f65f2939af28d5e27", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x1313600c23f63593b77fc8aca5a6fc20ef894a44e323554f65f2939af28d5e27", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x0f98867b36ce229df56a98e1454b81797def675ab7b1ff78b9bd95922be5a07e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (CALL 25000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b6161a8f1", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{[[1]]55}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6037600155", + "nonce" : "0x00", "storage" : { } } @@ -60,14 +103,14 @@ "" ], "gasLimit" : [ - "47766" + "0xba96" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json index 922fa9fb0..8e1869ebc 100644 --- a/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json +++ b/GeneralStateTests/stTransactionTest/InternalCallHittingGasLimitSuccess.json @@ -6,52 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json" }, "env" : { - "currentCoinbase" : "2adf5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0x2adf5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "220000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x035b60", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1", - "storage" : { - "0x01" : "0x37" - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x679ac548468089b4ada3dab4ada7c97b8ea6c6bf46bdaf117b7cf0ad1c7c2a83", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x679ac548468089b4ada3dab4ada7c97b8ea6c6bf46bdaf117b7cf0ad1c7c2a83", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x2766392b322e4bc9ec7c60c6699445acdc7c66d4fe3cec79f4ddd852f16f8e68", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (CALL 25000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 0 0 0) }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b6161a8f1", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{[[1]]55}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6037600155", + "nonce" : "0x00", "storage" : { } } @@ -61,14 +103,14 @@ "" ], "gasLimit" : [ - "150000" + "0x0249f0" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json index beacd4c63..301370628 100644 --- a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsOOG.json @@ -6,55 +6,82 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "20" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x2ad48fd172154544728a6ab6729ced747f40205158e83444b5e59697fc83cc3e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x2ad48fd172154544728a6ab6729ced747f40205158e83444b5e59697fc83cc3e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xc9e68239859ea35d4730ef47b0d8c9df5dfceb5d45f75b13c5cd4ad4790c797a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -66,18 +93,17 @@ "0x09" : "0x0c" } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "//" : "gas = 19 going OOG, gas = 20 fine", - "balance" : "10", - "code" : "{ (CALL 40000 0 1 0 0 0 0) }", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x600060006000600060016000619c40f1", + "nonce" : "0x00", "storage" : { } } @@ -87,14 +113,14 @@ "" ], "gasLimit" : [ - "160000" + "0x027100" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json index a14befd7b..b9d2a87d4 100644 --- a/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json +++ b/GeneralStateTests/stTransactionTest/InternlCallStoreClearsSucces.json @@ -6,45 +6,82 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1", - "storage" : { - } + "post" : { + "EIP150" : [ + { + "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "19" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x7405ca6ab4131e0ca94db673e5a959548010ef11f7f2bd0b0bd317bea2ffff89", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -56,18 +93,17 @@ "0x09" : "0x0c" } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "//" : "gas = 19 going OOG, gas = 20 fine", - "balance" : "10", - "code" : "{ (CALL 100000 0 1 0 0 0 0) }", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x600060006000600060016000620186a0f1", + "nonce" : "0x00", "storage" : { } } @@ -77,14 +113,14 @@ "" ], "gasLimit" : [ - "160000" + "0x027100" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/OverflowGasRequire.json b/GeneralStateTests/stTransactionTest/OverflowGasRequire.json index e8c55d4df..e4f4039de 100644 --- a/GeneralStateTests/stTransactionTest/OverflowGasRequire.json +++ b/GeneralStateTests/stTransactionTest/OverflowGasRequire.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x21e74bd5b4b29e241d402d6d7483d050bbdfcf2ae943522c2875c3f293e1ce70", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "1606938044258990275541962092341162602522202993782792835301376" + "0x0100000000000000000000000000000000000000000000000000" ], - "gasPrice" : "720575940379279360", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x0a00000000000000", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json b/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json index 38d381839..8f1578610 100644 --- a/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json +++ b/GeneralStateTests/stTransactionTest/OverflowGasRequire2.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316195423570985008687907853269984665640564039457584007913127916415", - "nonce" : "1" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x7f450a15a566a5af02d0cfd23bada4f0f6963d85c1a20f33eb8dffe2b55262f2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x928134bdccde9e51f4a737d2d227f8109915db01191585aad9341b3de67f83bb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x7f450a15a566a5af02d0cfd23bada4f0f6963d85c1a20f33eb8dffe2b55262f2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "0x3240349548983454" ], "gasLimit" : [ - "1152921504606846976" + "0x1000000000000000" ], - "gasPrice" : "80", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x50", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/RefundOverflow.json b/GeneralStateTests/stTransactionTest/RefundOverflow.json index 89adcac79..79b860000 100644 --- a/GeneralStateTests/stTransactionTest/RefundOverflow.json +++ b/GeneralStateTests/stTransactionTest/RefundOverflow.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0190", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "461168601842738810" + "0x066666666666667a" ], - "gasPrice" : "20", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x14", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/RefundOverflow2.json b/GeneralStateTests/stTransactionTest/RefundOverflow2.json index ec1550df5..a5f1ed3b5 100644 --- a/GeneralStateTests/stTransactionTest/RefundOverflow2.json +++ b/GeneralStateTests/stTransactionTest/RefundOverflow2.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x50e4efc6066e4158974b1cd159d914e8eda2978d3395f0027146f4a6bb014924", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0190", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "461168601842738810" + "0x066666666666667a" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json index 4889d3ed7..4604a46f6 100644 --- a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json +++ b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOG.json @@ -6,58 +6,82 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "20", - "storage" : { - "0x04" : "0x0c" - } - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x860acf740a21f4aa3656c5d77e74502a3dba158b1abc35e74b2d0a8143382a7e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x860acf740a21f4aa3656c5d77e74502a3dba158b1abc35e74b2d0a8143382a7e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xe34a15a4c108a728623ec726686e2712d79af48fb40a609d96d421bdaa83e402", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -69,19 +93,19 @@ "0x09" : "0x0c" } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "500000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x07a120", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0) (CALL 20000 0 1 0 0 0 0) }", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x6000600055600060015560006002556000600355600060006000600060016000614e20f1", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -94,14 +118,14 @@ "" ], "gasLimit" : [ - "200000" + "0x030d40" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json index 3027280e5..29da17639 100644 --- a/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json +++ b/GeneralStateTests/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccess.json @@ -6,45 +6,82 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1", - "storage" : { - } + "post" : { + "EIP150" : [ + { + "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "19", - "storage" : { - "0x04" : "0x0c" - } - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xb5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xb5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x488534cbee9b940581e2e9d39c252750b6b3582e5a159e1593ae1f36e17168db", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 0)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -56,20 +93,19 @@ "0x09" : "0x0c" } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "500000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x07a120", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "//" : "gas = 19 going OOG, gas = 20 fine", - "balance" : "10", - "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0) (CALL 50000 0 1 0 0 0 0) }", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x600060005560006001556000600255600060035560006000600060006001600061c350f1", + "nonce" : "0x00", "storage" : { - "0x" : "0x0c", + "0x00" : "0x0c", "0x01" : "0x0c", "0x02" : "0x0c", "0x03" : "0x0c", @@ -82,14 +118,14 @@ "" ], "gasLimit" : [ - "200000" + "0x030d40" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json index 811b4a302..291e31ed3 100644 --- a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json +++ b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json @@ -6,63 +6,87 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "storage" : { - "0xfd" : "0x01340b" - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x981251c50c9eaf41a1b1c05b9e396999e16dda2117366dfc6435e930f9024a6b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150", - "EIP158" - ], - "result" : { - "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "storage" : { - "0xfd" : "0x012f3b" - } - } + ], + "EIP158" : [ + { + "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "400000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x061a80", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (MSTORE 0 0x5a60fd55) (CREATE 0 28 4)}", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x635a60fd556000526004601c6000f0", + "nonce" : "0x00", "storage" : { } } @@ -72,14 +96,14 @@ "" ], "gasLimit" : [ - "131882" + "0x02032a" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "100" + "0x64" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json index da859a26c..0611dbd68 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCall.json @@ -6,72 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "shouldnotexist" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150", - "EIP158" - ], - "result" : { - "0000000000000000000000000000000000000001" : { - "shouldnotexist" : "1" + ], + "EIP158" : [ + { + "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "shouldnotexist" : "1" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x38d59e131e4d4e76ec2c1fe16066a42649618c65eba3cf6c776ab41a09821c62", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001ff", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "{(CALL 0 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600160006000f1506000ff", + "nonce" : "0x00", "storage" : { } } @@ -81,14 +103,14 @@ "" ], "gasLimit" : [ - "50000" + "0xc350" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json index 194ef4427..20f9aab81 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailed.json @@ -6,50 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "20", - "code" : "0x6001ff" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x67e8629b58470a4fe1c51cf03c7f0f6093f6dd3564c02879f0ae10830c179307", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001ff", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "{(CALL 0 0x0000000000000000000000000000000000000000 0 0 0 0 0) (SELFDESTRUCT 0)}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600060006000f1506000ff", + "nonce" : "0x00", "storage" : { } } @@ -59,14 +103,14 @@ "" ], "gasLimit" : [ - "50000" + "0xc350" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json index 9aa4fde57..15de431cd 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesOOG.json @@ -6,56 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "0x6001ff" + "post" : { + "EIP150" : [ + { + "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xb9db1ad8faa2ab7375b7e3214d04e444c7bae2eaa9c6555e1506d5421f5b89be", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001ff", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "{(CALL 22000 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600160006155f0f1506000ff", + "nonce" : "0x00", "storage" : { } } @@ -65,14 +103,14 @@ "" ], "gasLimit" : [ - "50000" + "0xc350" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json index 20e49567c..c39a2540c 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json @@ -6,70 +6,144 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 + "post" : { + "EIP150" : [ + { + "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "1", - "storage" : { - } - } + { + "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : 1, - "gas" : -1, - "value" : -1 + ], + "EIP158" : [ + { + "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "EIP150", - "EIP158" - ], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "1", - "storage" : { - } - } + { + "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xedcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xb09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001ff", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "180000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x02bf20", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "{(CALL (CALLDATALOAD 0) 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SELFDESTRUCT 0)}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03e8", + "code" : "0x600060006000600060016000600035f1506000ff", + "nonce" : "0x00", "storage" : { } } @@ -80,14 +154,14 @@ "0x000000000000000000000000000000000000000000000000000000000000aaf0" ], "gasLimit" : [ - "150000" + "0x0249f0" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json b/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json index d2ddd1616..38357057f 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json +++ b/GeneralStateTests/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyed.json @@ -6,67 +6,87 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "111488", - "nonce" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10502" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150", - "EIP158" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "108988", - "nonce" : "1" + ], + "EIP158" : [ + { + "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "13002" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0x6dd22dec58b209e1234c1fbfab5251329a95e1a708723ea9a5aad999967be8cd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x6dd22dec58b209e1234c1fbfab5251329a95e1a708723ea9a5aad999967be8cd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x8b093cfb172562c95fdc93897a0c9133270c68b3010ce4d586ce4247b706483f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "122000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01dc90", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "{(SELFDESTRUCT 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b)}", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03e8", + "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", + "nonce" : "0x00", "storage" : { } } @@ -76,14 +96,14 @@ "" ], "gasLimit" : [ - "31700" + "0x7bd4" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json index 85b5724fa..17805ed5a 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json +++ b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json @@ -6,71 +6,137 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : 0, - "value" : -1 + "post" : { + "EIP150" : [ + { + "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + { + "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "shouldnotexist" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1010" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : 1, - "value" : -1 + ], + "Frontier" : [ + { + "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "EIP150", - "EIP158" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + { + "hash" : "0x6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "shouldnotexist" : "1" + "logs" : [ + ] + }, + { + "hash" : "0x101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1010" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "220000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x035b60", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "{(SELFDESTRUCT 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b)}", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03e8", + "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", + "nonce" : "0x00", "storage" : { } } @@ -80,15 +146,15 @@ "" ], "gasLimit" : [ - "21700", - "60000" + "0x54c4", + "0xea60" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json b/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json index 3b3125490..5a4374c8a 100644 --- a/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json +++ b/GeneralStateTests/stTransactionTest/SuicidesStopAfterSuicide.json @@ -6,57 +6,94 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "100000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0186a0", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "code" : "0x6001ff", - "storage" : { - } + "post" : { + "EIP150" : [ + { + "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "shouldnotexist" : "1" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xdc9bf412e9770d2c1500b0be40f27b91d966320ea211c96f34faba0d4d7fb2c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xdc9bf412e9770d2c1500b0be40f27b91d966320ea211c96f34faba0d4d7fb2c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x8fa1ffcea85df2b5017dc0f74dc680bd0c308fdd19b0d74c2a8fcb4b99d27f61", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1110", - "code" : "{(SELFDESTRUCT 0x0000000000000000000000000000000000000001)}", - "nonce" : "0", + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x0456", + "code" : "0x6001ff", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "122000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01dc90", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000", - "code" : "{(SELFDESTRUCT 0) (CALL 30000 0x0000000000000000000000000000000000000000 0 0 0 0 0) }", - "nonce" : "0", + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x2710", + "code" : "0x6000ff", + "nonce" : "0x00", "storage" : { } } @@ -66,14 +103,14 @@ "" ], "gasLimit" : [ - "83700" + "0x0146f4" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json b/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json index 2b5f1f4a4..c4e6a7ab4 100644 --- a/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json +++ b/GeneralStateTests/stTransactionTest/TransactionDataCosts652.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "21652" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x8dca95be8393071025319ae78d7804a6ec176d716711c8bff783950d11cad4bb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x8dca95be8393071025319ae78d7804a6ec176d716711c8bff783950d11cad4bb", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "0x00000000000000000000112233445566778f32" ], "gasLimit" : [ - "22000" + "0x55f0" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json index 905abb2f6..695ffadf4 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json" }, "env" : { - "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "21100", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x526c", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x5438f629c851f45088db1f479003aa8517c0cbe106008db7a44f63ea4a1f3967", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "21100" + "0x526c" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json index cfa6aca06..f59071b99 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json" }, "env" : { - "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "21100", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x526c", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "21101" + "0x526d" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json index 5d4a9caab..c776cd358 100644 --- a/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json +++ b/GeneralStateTests/stTransactionTest/TransactionFromCoinbaseNotEnoughFounds.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json" }, "env" : { - "currentCoinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "110000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x01adb0", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22000" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x55f0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "21600" + "0x5460" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "5000" + "0x1388" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json b/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json index 2637daf8c..1e3f5c548 100644 --- a/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json +++ b/GeneralStateTests/stTransactionTest/TransactionNonceCheck.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "10" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xfdb4ec6fbe1f71e310dcbd7efaa690f8e6acf00bb5bf7940b39af182cd5f92aa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "10", + "nonce" : "0x0a", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "22000" + "0x55f0" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json b/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json index dad192aeb..f035ce6f8 100644 --- a/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json +++ b/GeneralStateTests/stTransactionTest/TransactionNonceCheck2.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "100000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x05f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xa3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "22000" + "0x55f0" ], - "gasPrice" : "1", - "nonce" : "10", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x0a", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json b/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json index 963d6df5c..a48cdc348 100644 --- a/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json +++ b/GeneralStateTests/stTransactionTest/TransactionSendingToEmpty.json @@ -6,59 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP158", - "EIP150" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + "post" : { + "EIP150" : [ + { + "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "code" : "0x" + ], + "EIP158" : [ + { + "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xcf29b86efa1b7f5f999ef519fcc921062924d5c14d78baf491252fbf5a0d85b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x01d55964b2d7eb43d050c308c5835cbc9d0d876a35fd855f063ca4fc424c4e28", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -68,14 +89,14 @@ "" ], "gasLimit" : [ - "53000" + "0xcf08" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : [ - "" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json b/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json index 4c9e4419d..166c0dcc6 100644 --- a/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json +++ b/GeneralStateTests/stTransactionTest/TransactionSendingToZero.json @@ -6,38 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "0000000000000000000000000000000000000000" : { - "balance" : "1" + "post" : { + "EIP150" : [ + { + "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" - } + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xb7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -47,14 +89,14 @@ "" ], "gasLimit" : [ - "25000" + "0x61a8" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0000000000000000000000000000000000000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0000000000000000000000000000000000000000", "value" : [ - "1" + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json b/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json index c4484ab9a..e0ff5a7f8 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json +++ b/GeneralStateTests/stTransactionTest/TransactionToAddressh160minusOne.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "100000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0186a0", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xc406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "22000" + "0x55f0" ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "0xffffffffffffffffffffffffffffffffffffffff", "value" : [ - "100" + "0x64" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToItself.json b/GeneralStateTests/stTransactionTest/TransactionToItself.json index 7448ca484..b71a649b5 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToItself.json +++ b/GeneralStateTests/stTransactionTest/TransactionToItself.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "79000", - "nonce" : "1" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "25000" + "0x61a8" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "1" + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json b/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json index c2a13c327..129999ca3 100644 --- a/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json +++ b/GeneralStateTests/stTransactionTest/TransactionToItselfNotEnoughFounds.json @@ -6,35 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "1000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22000" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xaaf022c10376f6d4542ba13ab000910f5aea0ea458395b8f074a64006f6e1ec2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x55f0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -44,14 +89,14 @@ "" ], "gasLimit" : [ - "21600" + "0x5460" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "5000" + "0x1388" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json b/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json index 830eed242..f0f1db3c3 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCost.json @@ -6,36 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "100000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x05f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "33000", - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x5bbf78f4da91159120044b2cee74ebd400cc5a2b5f54e7d9833afa156ad35d6c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "33000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x80e8", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -45,14 +89,14 @@ "" ], "gasLimit" : [ - "12" + "0x0c" ], - "gasPrice" : "0", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x00", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "900" + "0x0384" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json b/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json index 48513b1a9..9c20b0e35 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionZeroCost.json @@ -6,87 +6,80 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0" + "post" : { + "EIP150" : [ + { + "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "42100", - "nonce" : "1" - }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP150" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "nonce" : "0" + ], + "EIP158" : [ + { + "hash" : "0x6fa96e06aa7cafbd86e0d99b4cbd4b2924eb3e5c8d66eccba3b11a2c93907652", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "42100", - "nonce" : "1" + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP158" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "shouldnotexist" : "1" + ], + "Homestead" : [ + { + "hash" : "0xa2bff976f733022a4932ccfca0b8049b1569bfa83309e50b1fe698ec3d8e3c74", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "42100", - "nonce" : "1" + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x6fa96e06aa7cafbd86e0d99b4cbd4b2924eb3e5c8d66eccba3b11a2c93907652", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "43000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xa7f8", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -96,14 +89,14 @@ "" ], "gasLimit" : [ - "35100" + "0x891c" ], - "gasPrice" : "0", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x00", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "900" + "0x0384" ] } } diff --git a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json index c55e0f43a..4034265b5 100644 --- a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json +++ b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json @@ -6,84 +6,130 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0" + "post" : { + "EIP150" : [ + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + }, + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 + ], + "EIP158" : [ + { + "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "EIP150" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "nonce" : "0" + { + "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 + ], + "Homestead" : [ + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "EIP158" - ], - "result" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "shouldnotexist" : "1" + { + "hash" : "0x3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "logs" : [ + ] + }, + { + "hash" : "0xa58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "900" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "133000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x020788", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -93,15 +139,15 @@ "0x3240349548983454" ], "gasLimit" : [ - "32600", - "60000" + "0x7f58", + "0xea60" ], - "gasPrice" : "0", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x00", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "900" + "0x0384" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json index 5c7703ef2..d7f090412 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreate.json @@ -6,134 +6,630 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP158", - "EIP150" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 1 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Frontier" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : [ - 0, - 3 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "balance" : "0x00", - "nonce" : "0x01" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Homestead" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 2 - ], - "gas" : [ - 3 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "nonce" : "0x01", - "storage" : { - "0x00" : "0xffffffffffffffffffffffffffffffffffffffff", - "0x01" : "0xffffffffffffffffffffffffffffffffffffffff" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Metropolis" : [ + { + "hash" : "0x0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0673ca46ef9ac57cee329d3a20161c6dd6b5722b59191335976819b2136e2682", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x8d486aa40ba989a61868aa75f97b3b7e722cec7963356ae46dde3e4b48b6b94d", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -145,19 +641,19 @@ "0x3260005533600155" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", "to" : "", - "v" : "1", + "v" : "0x01", "value" : [ - "0" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json index c656e0456..b369999bc 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransacrionCreatePrice0.json @@ -6,135 +6,630 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreatePrice0Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP158", - "EIP150" - ], - "result" : { - "96b19ced219f86286c413422a6698a7439d1fa52" : { - "shouldnotexist" : "1" - }, - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 1 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "shouldnotexist" : "1" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Frontier" : [ + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : [ - 0, - 3 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "balance" : "0x00", - "nonce" : "0x01" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Homestead" : [ + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 2 - ], - "gas" : [ - 0, - 3 - ], - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { - "balance" : "0x00", - "nonce" : "0x01" - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Metropolis" : [ + { + "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x667bef7fd0ad2f1be7a6f8ab214badcb737770ddd18d70ffc424e9a25a27f031", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xfb2ea6e0ff1e07388976b5a96337d9b1fcb37f5a01559b06823e70a022f1c2c9", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x64", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -146,19 +641,19 @@ "0x6000" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", "to" : "", - "v" : "1", + "v" : "0x01", "value" : [ - "0" + "0x00" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json index 09f472249..82b4c0256 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransaction.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction.json @@ -6,118 +6,1237 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 0, - 3 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Frontier" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 0 - ], - "value" : 1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Homestead" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - } - ], + ], + "Metropolis" : [ + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -128,21 +1247,21 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", "value" : [ - "0", - "1", - "100000" + "0x00", + "0x01", + "0x0186a0" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json index 0c0b2f929..01702c3b9 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransaction0Price.json @@ -6,119 +6,837 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransaction0PriceFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 0, - 3 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Frontier" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 0, - 3 - ], - "value" : 1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Homestead" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ], + "Metropolis" : [ + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb025b193860ec94ae49ccf6eb385746db95e92602013b3b70411666fa2007e2", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -129,20 +847,20 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", "value" : [ - "0", - "1" + "0x00", + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json index 38a4b713a..f9d1bf974 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvChainID.json @@ -6,47 +6,637 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvChainIDFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "ALL" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ], + "EIP158" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -57,19 +647,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "21000", - "121000" + "0xea60", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x00", "value" : [ - "0", - "1" + "0x00", + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json index a12362f35..bcf7c0c9b 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce.json @@ -6,70 +6,637 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonceFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP158", - "EIP150" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xc60c9d1b3edf32c1506b900ec78a46004a1557be9703689f9e901e1709518e76", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -80,19 +647,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "21000", - "121000" + "0xea60", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "10", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x0a", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", "value" : [ - "0", - "1" + "0x00", + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json index b98a973fc..b7e312f61 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionInvNonce2.json @@ -6,70 +6,637 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionInvNonce2Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP158", - "EIP150" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "1" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "1" - } + ], + "EIP158" : [ + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe59e520bda82a64dc46cf9880d05f8576e98428c280469c192a2db507ac006c0", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } } @@ -80,19 +647,19 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "21000", - "121000" + "0xea60", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "1", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x01", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", "value" : [ - "0", - "1" + "0x00", + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json index 0ecaf37a5..953b688f9 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json @@ -6,122 +6,837 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + "post" : { + "EIP150" : [ + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : 0, - "gas" : [ - 1 - ], - "value" : -1 - }, - "network" : [ - "EIP158", - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "EIP158" : [ + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : 1, - "gas" : [ - 1, - 2 - ], - "value" : -1 - }, - "network" : [ - "EIP158", - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" - } + ], + "Frontier" : [ + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 3, - 0 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "shouldnotexist" : "1" - } + ], + "Homestead" : [ + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ], + "Metropolis" : [ + { + "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd506140af993cf273f1e9984a13cd06c1d469640180a5b5a78907e75ae230098", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ [[0]] 1 }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6001600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "0", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -132,20 +847,20 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x01", "value" : [ - "0", - "1" + "0x00", + "0x01" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json index 3f21c6752..1ea7b29ff 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOrigin.json @@ -6,105 +6,637 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOriginFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : [ - 0, - 3 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "1000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0xffffffffffffffffffffffffffffffffffffffff", - "0x01" : "0xffffffffffffffffffffffffffffffffffffffff" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 1, - 2 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "1000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0", - "0x01" : "0" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "EIP158" : [ + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "Frontier" : [ + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - } - ], + ], + "Homestead" : [ + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xf2399d4632dfd83a0e73d9612af1e7b9c251d135bc3aa2762a337f6f058bc780", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xf2399d4632dfd83a0e73d9612af1e7b9c251d135bc3aa2762a337f6f058bc780", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xd3c4d7538844e1ee5ffe42c00f13827eeee3fe619c9bd89b5dbbad7b713e106f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "1000000000000000000000000000000000000000" : { - "balance" : "100000", - "code" : "{ [[0]] (ORIGIN) [[1]] (CALLER) }", - "nonce" : "0", + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x0186a0", + "code" : "0x3260005533600155", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -114,21 +646,21 @@ "" ], "gasLimit" : [ - "70000", - "20000", - "21000", - "121000" + "0x011170", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "1000000000000000000000000000000000000000", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x01", "value" : [ - "0", - "1", - "100000" + "0x00", + "0x01", + "0x0186a0" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json index 2dc753cac..8714958d1 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero.json @@ -6,61 +6,1230 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZeroFiller.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "EIP158" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 2 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xebdc9f1983a0ddb5c876542cf78eea10f684f4220f47be93c7505e3c3c7b6a0c", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 2 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -71,21 +1240,21 @@ "0x1122334455667788990011223344556677889910" ], "gasLimit" : [ - "60000", - "20000", - "21000", - "121000" + "0xea60", + "0x4e20", + "0x5208", + "0x01d8a8" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "ffffffffffffffffffffffffffffffffffffffff", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xffffffffffffffffffffffffffffffffffffffff", + "v" : "0x01", "value" : [ - "0", - "1", - "100000" + "0x00", + "0x01", + "0x0186a0" ] } } diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json index 3ce7ea3aa..e901bfa38 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionToZero2.json @@ -6,256 +6,958 @@ "source" : "/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionToZero2Filler.json" }, "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "10000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : 1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "1000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "2000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "3000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "a000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : [ - 0 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "1000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x01", - "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", - "0x03" : "0xa000000000000000000000000000000000000000" - } - }, - "a000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 1 - ], - "gas" : [ - 0 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "2000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x01", - "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", - "0x03" : "0xa000000000000000000000000000000000000000" - } - }, - "a000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "EIP158" : [ + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 2 - ], - "gas" : [ - 0 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "3000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x01", - "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", - "0x03" : "0xa000000000000000000000000000000000000000" - } - }, - "a000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x01" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "Frontier" : [ + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : [ - 1, - 2 - ], - "value" : 0 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "1000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "2000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "3000000000000000000000000000000000000000" : { - "storage" : { - "0x01" : "0x00" - } - }, - "a000000000000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x00" - } - }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "Homestead" : [ + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } + ], + "Metropolis" : [ + { + "hash" : "0xb6b2051acd54464e50d02d05cb0ab705337e273629d075b4d692ba91dccfd946", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x2b9305b474b366b3d49b618a7861f3c08bfe13881dcb0b5416dd37842730ad82", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0xbb83b7336c217b045b81eea2fdf484d903403c3d5f06f99c6ebdc5e2d07e9df5", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x0328f2088fa252690e8de17ac980d00d786ebe12ffdf2940bbf76aebb69998af", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + }, + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "1000000000000000000000000000000000000000" : { - "balance" : "100000", - "code" : "{ [[1]] (CALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", - "nonce" : "0", + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x0186a0", + "code" : "0x60006000600060003473ffffffffffffffffffffffffffffffffffffffff5af16001553260025533600355", + "nonce" : "0x00", "storage" : { } }, - "2000000000000000000000000000000000000000" : { - "balance" : "100000", - "code" : "{ [[1]] (CALLCODE (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", - "nonce" : "0", + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x0186a0", + "code" : "0x60006000600060003473ffffffffffffffffffffffffffffffffffffffff5af26001553260025533600355", + "nonce" : "0x00", "storage" : { } }, - "3000000000000000000000000000000000000000" : { - "balance" : "100000", - "code" : "{ [[1]] (DELEGATECALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", - "nonce" : "0", + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x0186a0", + "code" : "0x600060006000600073ffffffffffffffffffffffffffffffffffffffff5af46001553260025533600355", + "nonce" : "0x00", "storage" : { } }, - "a000000000000000000000000000000000000000" : { - "balance" : "100000", - "code" : "{ [[0]](CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) }", - "nonce" : "0", + "0xa000000000000000000000000000000000000000" : { + "balance" : "0x0186a0", + "code" : "0x6000600060006000346000355af1600055", + "nonce" : "0x00", "storage" : { } }, - "ffffffffffffffffffffffffffffffffffffffff" : { - "balance" : "100000", + "0xffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0x0186a0", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } } @@ -267,19 +969,19 @@ "0x0000000000000000000000003000000000000000000000000000000000000000" ], "gasLimit" : [ - "600000", - "20000", - "0" + "0x0927c0", + "0x4e20", + "0x00" ], - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "to" : "a000000000000000000000000000000000000000", - "v" : "1", + "gasPrice" : "0x00", + "nonce" : "0x00", + "r" : "0x00", + "s" : "0x00", + "to" : "0xa000000000000000000000000000000000000000", + "v" : "0x01", "value" : [ - "0", - "100" + "0x00", + "0x64" ] } } -- cgit