diff options
Diffstat (limited to 'GeneralStateTests/stBlockHashTest')
5 files changed, 712 insertions, 40 deletions
diff --git a/GeneralStateTests/stBlockHashTest/blockhash0.json b/GeneralStateTests/stBlockHashTest/blockhash0.json index eea234fc1..009030991 100644 --- a/GeneralStateTests/stBlockHashTest/blockhash0.json +++ b/GeneralStateTests/stBlockHashTest/blockhash0.json @@ -2,44 +2,140 @@ "blockhash0" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", + "currentDifficulty" : "0x20000", "currentGasLimit" : "0x174876e800", - "currentNumber" : "0x05", - "currentTimestamp" : "0x01", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "post" : { "EIP150" : [ { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 0, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 1, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 1, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { @@ -61,35 +157,131 @@ ], "EIP158" : [ { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 0, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 1, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 1, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { @@ -111,35 +303,131 @@ ], "Frontier" : [ { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 0, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 1, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 1, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { @@ -161,35 +449,131 @@ ], "Homestead" : [ { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 0, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", + "hash" : "7dde00b2e7aea44866286f955462fedcb613e3b41303ef7e5c269cef5346247f", "indexes" : { "data" : 0, "gas" : 1, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { - "hash" : "99a450d8ce5b987a71346d8a0a1203711f770745c7ef326912e46761f14cd764", + "hash" : "589fd4b64c670b0b1bc0afa275912befbdcba04749cbcc31f14e3746ebb82d06", "indexes" : { "data" : 0, "gas" : 1, "value" : 1 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600040600055600540600155600440600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7aba", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } }, { diff --git a/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json b/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json index 886fc44d7..1abcc0a24 100644 --- a/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json +++ b/GeneralStateTests/stBlockHashTest/blockhashDOS-sec71.json @@ -2,10 +2,10 @@ "blockhashDOS-sec71" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", + "currentDifficulty" : "0x20000", "currentGasLimit" : "0x05f5e100", - "currentNumber" : "0x0101", - "currentTimestamp" : "0x01", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "post" : { diff --git a/GeneralStateTests/stBlockHashTest/blockhashInRange.json b/GeneralStateTests/stBlockHashTest/blockhashInRange.json index 83e237d53..233e460b3 100644 --- a/GeneralStateTests/stBlockHashTest/blockhashInRange.json +++ b/GeneralStateTests/stBlockHashTest/blockhashInRange.json @@ -2,50 +2,146 @@ "blockhashInRange" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", + "currentDifficulty" : "0x20000", "currentGasLimit" : "0x05f5e100", - "currentNumber" : "0x0101", - "currentTimestamp" : "0x01", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "post" : { "EIP150" : [ { - "hash" : "ab8432acf840bc3cff40a4bce7a59639712bd74e6243144879d41ccc33d10564", + "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x60004060005560024060015561010040600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "EIP158" : [ { - "hash" : "ab8432acf840bc3cff40a4bce7a59639712bd74e6243144879d41ccc33d10564", + "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x60004060005560024060015561010040600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "Frontier" : [ { - "hash" : "ab8432acf840bc3cff40a4bce7a59639712bd74e6243144879d41ccc33d10564", + "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x60004060005560024060015561010040600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "Homestead" : [ { - "hash" : "ab8432acf840bc3cff40a4bce7a59639712bd74e6243144879d41ccc33d10564", + "hash" : "fb1c9b7caeafea4ac77fe6fe63a93d9e815ad46f077ddb97ad5af252c797848b", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x60004060005560024060015561010040600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e7ab0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ] @@ -53,7 +149,7 @@ "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x60014060005560024060015561010040600255", + "code" : "0x60004060005560024060015561010040600255", "nonce" : "0x00", "storage" : { } diff --git a/GeneralStateTests/stBlockHashTest/blockhashJIT.json b/GeneralStateTests/stBlockHashTest/blockhashJIT.json index 8325745c0..f37c24c9a 100644 --- a/GeneralStateTests/stBlockHashTest/blockhashJIT.json +++ b/GeneralStateTests/stBlockHashTest/blockhashJIT.json @@ -2,10 +2,10 @@ "blockhashJIT" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", + "currentDifficulty" : "0x20000", "currentGasLimit" : "0x174876e800", - "currentNumber" : "0x05", - "currentTimestamp" : "0x01", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "post" : { @@ -16,6 +16,30 @@ "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x6000406000556801000000000000000140600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xb3e4", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e8e52", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], @@ -26,6 +50,30 @@ "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x6000406000556801000000000000000140600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xb3e4", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e8e52", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], @@ -36,6 +84,30 @@ "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x6000406000556801000000000000000140600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xb3e4", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e8e52", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], @@ -46,6 +118,30 @@ "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x6000406000556801000000000000000140600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xb3e4", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0e8e52", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ] diff --git a/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json b/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json index 3a7a57b2b..61738890f 100644 --- a/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json +++ b/GeneralStateTests/stBlockHashTest/blockhashOutOfRange.json @@ -2,50 +2,146 @@ "blockhashOutOfRange" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", + "currentDifficulty" : "0x20000", "currentGasLimit" : "0x05f5e100", - "currentNumber" : "0x0101", - "currentTimestamp" : "0x01", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "post" : { "EIP150" : [ { - "hash" : "2a12af36bb359a981bcefc9256eb5fbed4acad1c27be59c2f726b547dfafec2a", + "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x39f780", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "EIP158" : [ { - "hash" : "2a12af36bb359a981bcefc9256eb5fbed4acad1c27be59c2f726b547dfafec2a", + "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x39f780", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "Frontier" : [ { - "hash" : "2a12af36bb359a981bcefc9256eb5fbed4acad1c27be59c2f726b547dfafec2a", + "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x39f780", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ], "Homestead" : [ { - "hash" : "2a12af36bb359a981bcefc9256eb5fbed4acad1c27be59c2f726b547dfafec2a", + "hash" : "4e785c13d8eb1e675e75608830b914bd16754c6d432abcdbee2362563d00dfd1", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 + }, + "postState" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a764000a", + "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xc786", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x39f780", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } } } ] |