diff options
author | Dimitry <dimitry@ethdev.com> | 2017-02-09 01:13:33 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2017-02-10 02:24:57 +0800 |
commit | 4bedb7293024d1724993df23d2b20863fe24c782 (patch) | |
tree | b0c3426afd7ee1ac94c09e2c3a224ce04392261c /src/GeneralStateTestsFiller/stSpecialTest | |
parent | 7dd70cc8e9a8b1c8d9c3e3811943b4c937d7b243 (diff) | |
download | dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar.gz dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar.bz2 dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar.lz dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar.xz dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.tar.zst dexon-tests-4bedb7293024d1724993df23d2b20863fe24c782.zip |
update general state tests fillers to suite blockchain
Diffstat (limited to 'src/GeneralStateTestsFiller/stSpecialTest')
11 files changed, 34 insertions, 44 deletions
diff --git a/src/GeneralStateTestsFiller/stSpecialTest/BadStateRootTxFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/BadStateRootTxFiller.json index 53c453959..b2aec3544 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/BadStateRootTxFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/BadStateRootTxFiller.json @@ -2,10 +2,10 @@ "BadStateRootTx" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackFiller.json index 2a9fae45e..46d20cd80 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackFiller.json @@ -2,10 +2,10 @@ "JUMPDEST_Attack" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackwithJumpFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackwithJumpFiller.json index 511233cf2..4f9b3829b 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackwithJumpFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/JUMPDEST_AttackwithJumpFiller.json @@ -2,10 +2,10 @@ "JUMPDEST_AttackwithJump" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/OverflowGasMakeMoneyFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/OverflowGasMakeMoneyFiller.json index aaa7b889b..40181ef89 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/OverflowGasMakeMoneyFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/OverflowGasMakeMoneyFiller.json @@ -2,10 +2,10 @@ "OverflowGasMakeMoney" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "0x7fffffffffffffff", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/StackDepthLimitSECFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/StackDepthLimitSECFiller.json index 384c26178..32e0a32af 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/StackDepthLimitSECFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/StackDepthLimitSECFiller.json @@ -2,10 +2,10 @@ "StackDepthLimitSEC" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/block504980Filler.json b/src/GeneralStateTestsFiller/stSpecialTest/block504980Filler.json index bd5b28f94..867afddda 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/block504980Filler.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/block504980Filler.json @@ -2,10 +2,10 @@ "block504980" : { "env" : { "currentCoinbase" : "1cdc8315bdb1362de8b7b2fa9ee75dc873037179", - "currentDifficulty" : "21010229025", + "currentDifficulty" : "0x020000", "currentGasLimit" : "3141592", - "currentNumber" : "504980", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "9ff4de714e01da9f8b61992efdab9b51ca14ac42d43f4c24df1d002a1239b1e9" }, "expect" : [ @@ -34,18 +34,8 @@ "storage" : { "0x065d5efdfcc0fba693dc9e467f633097ffdc97401901463ad0e28855486d1edf" : "0xb9d69098a6acfe0c6411bcaaf430f78d363a9adc32b78bc2e15ccd6e883e9784", "0x12643ff300762717d27efb567b82c65560d7b43249d908504e5510863ab82aac" : "0x154cf60e137c594516a065149610b6a3989396a42581d5fd8919e711c55da225", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4d7" : "0x04", + "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4d7" : "0x05", "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4d8" : "0x01", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4da" : "0xe365736b", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4db" : "0x0f69b5", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4dc" : "0x629e", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4dd" : "0x60", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e0" : "0x2200", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e4" : "0x146000000000000000000000000000000000000000000000000000000000", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e6" : "0xe365736b00000000000000000000000000000000000000000000000000000000", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e7" : "0x0f69b500000000000000000000000000000000000000000000000000000000", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e8" : "0x629e00000000000000000000000000000000000000000000000000000000", - "0x1489023d18c5d10427c4aa8dc726e840eb5ae7f604a8e9243c61634fb009e4e9" : "0x6000000000000000000000000000000000000000000000000000000000", "0x19efb13d6576359514ace5211988a8d51379fa88ccd2b886b409f842b13d7932" : "0xc849cc595b452d11c206d2eb8cdfa06de211e3ff19ee0e0276dc857c05d4fe", "0x1b37e91bf8580c7c6bcf8cdff25c7ed78180124a94af6f30c40d476a3d079ad6" : "0xaba4cd295118a482a0a62579e35e4ba5bdd76146cc9e4d96172fce8be8977ab4", "0x2bf9fd8facdd6fd9c84657f5ad7381a5aecf670cda68cb3c5829b6532c865506" : "0x53098a1d111586dbcc0d051846284f5803c63c313e7f7e6d84430435d11d4c50", diff --git a/src/GeneralStateTestsFiller/stSpecialTest/gasPrice0Filler.json b/src/GeneralStateTestsFiller/stSpecialTest/gasPrice0Filler.json index bf3fe81f3..1ae49e445 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/gasPrice0Filler.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/gasPrice0Filler.json @@ -2,10 +2,10 @@ "gasPrice0" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/makeMoneyFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/makeMoneyFiller.json index a4ecd0333..746adbb10 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/makeMoneyFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/makeMoneyFiller.json @@ -2,10 +2,10 @@ "makeMoney" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/sha3_dejaFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/sha3_dejaFiller.json index 6cb000ae3..beb28dedf 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/sha3_dejaFiller.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/sha3_dejaFiller.json @@ -2,10 +2,10 @@ "sha3_deja" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/txCost-sec73Filler.json b/src/GeneralStateTestsFiller/stSpecialTest/txCost-sec73Filler.json index 0eaf53e0b..e2742e482 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/txCost-sec73Filler.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/txCost-sec73Filler.json @@ -2,10 +2,10 @@ "txCost-sec73" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stSpecialTest/tx_e1c174e2Filler.json b/src/GeneralStateTestsFiller/stSpecialTest/tx_e1c174e2Filler.json index 9535a9111..a10e61d7b 100644 --- a/src/GeneralStateTestsFiller/stSpecialTest/tx_e1c174e2Filler.json +++ b/src/GeneralStateTestsFiller/stSpecialTest/tx_e1c174e2Filler.json @@ -2,10 +2,10 @@ "tx_e1c174e2" : { "env" : { "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", - "currentDifficulty" : "11380330105712", + "currentDifficulty" : "0x020000", "currentGasLimit" : "3141592", - "currentNumber" : "980565", - "currentTimestamp" : 1455070456, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ |