diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-10-31 18:32:05 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-13 17:44:06 +0800 |
commit | 5cd86443ee071b5e3abe4995c777ce467c29f2c5 (patch) | |
tree | 0d67d118efab52c09a877c4be9560b9c9020f775 /tests/files/StateTests/EIP150/Homestead/stRefundTest.json | |
parent | 779ddb183275ed506ebae972876fe04098c738e5 (diff) | |
download | go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar.gz go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar.bz2 go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar.lz go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar.xz go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.tar.zst go-tangerine-5cd86443ee071b5e3abe4995c777ce467c29f2c5.zip |
tests: added new EIP158 tests
Diffstat (limited to 'tests/files/StateTests/EIP150/Homestead/stRefundTest.json')
-rw-r--r-- | tests/files/StateTests/EIP150/Homestead/stRefundTest.json | 145 |
1 files changed, 59 insertions, 86 deletions
diff --git a/tests/files/StateTests/EIP150/Homestead/stRefundTest.json b/tests/files/StateTests/EIP150/Homestead/stRefundTest.json index 655a86fbf..46d0f2dc4 100644 --- a/tests/files/StateTests/EIP150/Homestead/stRefundTest.json +++ b/tests/files/StateTests/EIP150/Homestead/stRefundTest.json @@ -4,7 +4,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -71,7 +71,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -140,7 +140,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -210,7 +210,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -279,7 +279,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -288,42 +288,36 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755", + "balance" : "0x1bc16d674ec80000", + "code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755", "nonce" : "0x00", "storage" : { "0x0a" : "0x01", + "0x0b" : "0x01", "0x16" : "0x984476", - "0x17" : "0x96f36b" + "0x17" : "0x96a73c" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xf89c", + "balance" : "0x011eb4", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x979de4", + "balance" : "0x9777cc", "code" : "0x", "nonce" : "0x01", "storage" : { } - }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - } } }, - "postStateRoot" : "930ee35309464f8240f0a89c2c0ae2ac263a32057cfe8aa01ffacefeb17bc6c5", + "postStateRoot" : "cd28ca13aa3a701b7f9aa3aa271fde9cf6431bea810bed299c9872fda3b0207a", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755", + "code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755", "nonce" : "0x00", "storage" : { "0x01" : "0x01", @@ -366,7 +360,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -446,7 +440,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -526,7 +520,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -606,7 +600,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -615,40 +609,34 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a764000a", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "balance" : "0x1bc16d674ec8000a", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600055", "nonce" : "0x00", "storage" : { + "0x00" : "0x01", "0x01" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x6a58", + "balance" : "0x5b44", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x05f5769e", + "balance" : "0x05f585b2", "code" : "0x", "nonce" : "0x01", "storage" : { } - }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - } } }, - "postStateRoot" : "0e12da5c4f787e4fe18ddefa66c8b2080a2e58d817294b7c7435740f20a19a6d", + "postStateRoot" : "01065499db1a6c0b9e9b59667f4a4fce651df18e0d7cc717d0f92a4d8d533ed2", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600055", "nonce" : "0x00", "storage" : { "0x01" : "0x01" @@ -684,7 +672,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -693,41 +681,34 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a764000a", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "balance" : "0x1bc16d674ec8000a", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600055", "nonce" : "0x00", "storage" : { + "0x00" : "0x01", "0x01" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x6a58", + "balance" : "0x5b44", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x05f5769e", + "balance" : "0x05f585b2", "code" : "0x", "nonce" : "0x01", "storage" : { } - }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - "0x01" : "0x01" - } } }, - "postStateRoot" : "78047cf2a1c6d143c3ebbec0a2aa841b1e4e4a7d2d8b426894365014260ba411", + "postStateRoot" : "01065499db1a6c0b9e9b59667f4a4fce651df18e0d7cc717d0f92a4d8d533ed2", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1600055", "nonce" : "0x00", "storage" : { "0x01" : "0x01" @@ -764,7 +745,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -773,41 +754,34 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a764000a", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1", + "balance" : "0x1bc16d674ec8000a", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1", "nonce" : "0x00", "storage" : { + "0x00" : "0x01", "0x01" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x6f1d", + "balance" : "0x6f23", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x05f571d9", + "balance" : "0x05f571d3", "code" : "0x", "nonce" : "0x01", "storage" : { } - }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - "0x01" : "0x01" - } } }, - "postStateRoot" : "c31ef1f2da9ba6cd9ac4c23fd1e28530d209ed9ef1856eef0d7f4269e4a2f806", + "postStateRoot" : "e67082dbe68af621be2a449ac38ea6f59407fb67568b6f6738f9431775a2070e", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1", + "code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6161a8f1", "nonce" : "0x00", "storage" : { "0x01" : "0x01" @@ -844,7 +818,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -907,7 +881,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -971,7 +945,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -979,30 +953,29 @@ ], "out" : "0x", "post" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x520b", + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", "code" : "0x", "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x05f58ef5", + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x697b", "code" : "0x", - "nonce" : "0x01", + "nonce" : "0x00", "storage" : { } }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x05f5777b", + "code" : "0x", + "nonce" : "0x01", "storage" : { - "0x01" : "0x01" } } }, - "postStateRoot" : "97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2", + "postStateRoot" : "88fb9e0f28bdde3b8d5d2a9c029c0be25e03e3c66c0f2d694f2923df35ef5e6f", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x05f5e100", @@ -1022,7 +995,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "0x520b", + "gasLimit" : "0x024ddb", "gasPrice" : "0x01", "nonce" : "0x00", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -1035,7 +1008,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -1099,7 +1072,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -1163,7 +1136,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x037c94", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -1226,7 +1199,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -1281,7 +1254,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x0f4240", - "currentNumber" : "0x257da8", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, |