diff options
Diffstat (limited to 'tests/files/StateTests/stBlockHashTest.json')
-rw-r--r-- | tests/files/StateTests/stBlockHashTest.json | 119 |
1 files changed, 56 insertions, 63 deletions
diff --git a/tests/files/StateTests/stBlockHashTest.json b/tests/files/StateTests/stBlockHashTest.json index c18d9f422..019d19974 100644 --- a/tests/files/StateTests/stBlockHashTest.json +++ b/tests/files/StateTests/stBlockHashTest.json @@ -2,10 +2,10 @@ "blockhash0" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", - "currentGasLimit" : "100000000000", - "currentNumber" : "5", - "currentTimestamp" : 1, + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x174876e800", + "currentNumber" : "0x05", + "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "logs" : [ @@ -13,25 +13,25 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000010", + "balance" : "0x0de0b6b3a764000a", "code" : "0x600040600055600540600155600440600255", - "nonce" : "0", + "nonce" : "0x", "storage" : { "0x" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "0x02" : "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "66078", + "balance" : "0x01021e", "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "933912", + "balance" : "0x0e4018", "code" : "0x", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } } @@ -39,37 +39,37 @@ "postStateRoot" : "3e6dacc1575c6a8c76422255eca03529bbf4c0dda75dfc110b22d6dc4152396f", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000000", + "balance" : "0x0de0b6b3a7640000", "code" : "0x600040600055600540600155600440600255", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "balance" : "0x0f4240", "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } } }, "transaction" : { - "data" : "", - "gasLimit" : "285000", - "gasPrice" : "1", - "nonce" : "0", + "data" : "0x", + "gasLimit" : "0x045948", + "gasPrice" : "0x01", + "nonce" : "0x", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10" + "value" : "0x0a" } }, "blockhashInRange" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", - "currentGasLimit" : "100000000", - "currentNumber" : "257", - "currentTimestamp" : 1, + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x05f5e100", + "currentNumber" : "0x0101", + "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "logs" : [ @@ -77,9 +77,9 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000010", + "balance" : "0x0de0b6b3a764000a", "code" : "0x60014060005560024060015561010040600255", - "nonce" : "0", + "nonce" : "0x", "storage" : { "0x" : "0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", "0x01" : "0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", @@ -87,16 +87,16 @@ } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "81078", + "balance" : "0x013cb6", "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "918912", + "balance" : "0x0e0580", "code" : "0x", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } } @@ -104,37 +104,37 @@ "postStateRoot" : "ab8432acf840bc3cff40a4bce7a59639712bd74e6243144879d41ccc33d10564", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000000", + "balance" : "0x0de0b6b3a7640000", "code" : "0x60014060005560024060015561010040600255", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "balance" : "0x0f4240", "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } } }, "transaction" : { - "data" : "", - "gasLimit" : "285000", - "gasPrice" : "1", - "nonce" : "0", + "data" : "0x", + "gasLimit" : "0x045948", + "gasPrice" : "0x01", + "nonce" : "0x", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10" + "value" : "0x0a" } }, "blockhashOutOfRange" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", - "currentGasLimit" : "100000000", - "currentNumber" : "257", - "currentTimestamp" : 1, + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x05f5e100", + "currentNumber" : "0x0101", + "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "logs" : [ @@ -142,52 +142,45 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000010", + "balance" : "0x0de0b6b3a7640000", "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", - "nonce" : "0", - "storage" : { - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "36078", - "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "963912", + "balance" : "0x0f4240", "code" : "0x", - "nonce" : "1", + "nonce" : "0x", "storage" : { } } }, - "postStateRoot" : "0e96d68de926409b99cc790cea2521251252caf771bbef9b5ddc5c30e1a7db90", + "postStateRoot" : "06288380a8085485ac48f0b726c86f3e6253946ba969ed0d9e1a0f34d0133b81", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000000000", + "balance" : "0x0de0b6b3a7640000", "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", - "nonce" : "0", + "nonce" : "0x", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "balance" : "0x0f4240", "code" : "0x", - "nonce" : "0", + "nonce" : "0x", "storage" : { } } }, "transaction" : { - "data" : "", - "gasLimit" : "285000", - "gasPrice" : "1", - "nonce" : "0", + "data" : "0x", + "gasLimit" : "0x2b7cd0", + "gasPrice" : "0x01", + "nonce" : "0x", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10" + "value" : "0x0a" } } }
\ No newline at end of file |