From 4bedb7293024d1724993df23d2b20863fe24c782 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 8 Feb 2017 21:13:33 +0400 Subject: update general state tests fillers to suite blockchain --- .../CallContractToCreateContractAndCallItOOGFiller.json | 6 +++--- .../stInitCodeTest/CallContractToCreateContractNoCashFiller.json | 6 +++--- .../CallContractToCreateContractOOGBonusGasFiller.json | 6 +++--- .../stInitCodeTest/CallContractToCreateContractOOGFiller.json | 6 +++--- ...tractToCreateContractWhichWouldCreateContractIfCalledFiller.json | 6 +++--- ...actToCreateContractWhichWouldCreateContractInInitCodeFiller.json | 6 +++--- .../stInitCodeTest/CallRecursiveContractFiller.json | 6 +++--- .../stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json | 6 +++--- .../stInitCodeTest/NotEnoughCashContractCreationFiller.json | 6 +++--- .../stInitCodeTest/OutOfGasContractCreationFiller.json | 6 +++--- .../stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json | 6 +++--- src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json | 6 +++--- src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json | 6 +++--- .../stInitCodeTest/StackUnderFlowContractCreationFiller.json | 6 +++--- .../stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json | 6 +++--- .../stInitCodeTest/TransactionCreateRandomInitCodeFiller.json | 6 +++--- .../stInitCodeTest/TransactionCreateStopInInitcodeFiller.json | 6 +++--- .../stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json | 6 +++--- 18 files changed, 54 insertions(+), 54 deletions(-) (limited to 'src/GeneralStateTestsFiller/stInitCodeTest') diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json index a383d026d..99f3a1a0c 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractAndCallItOOG" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractNoCashFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractNoCashFiller.json index b37ea5e21..a0533aa3c 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractNoCashFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractNoCashFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractNoCash" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json index 30eec6896..25f69bff0 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractOOGBonusGas" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGFiller.json index 3288f93d3..9ef2ab604 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractOOG" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json index 1381f39f2..bc1740fd4 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractWhichWouldCreateContractIfCalled" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json index ef419a8c0..fe9675a57 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json @@ -2,10 +2,10 @@ "CallContractToCreateContractWhichWouldCreateContractInInitCode" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallRecursiveContractFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallRecursiveContractFiller.json index b077a3d89..90558c260 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallRecursiveContractFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallRecursiveContractFiller.json @@ -2,10 +2,10 @@ "CallRecursiveContract" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json index 43785e447..e776ab58b 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json @@ -2,10 +2,10 @@ "CallTheContractToCreateEmptyContract" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/NotEnoughCashContractCreationFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/NotEnoughCashContractCreationFiller.json index b53e93ef2..416a9e580 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/NotEnoughCashContractCreationFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/NotEnoughCashContractCreationFiller.json @@ -2,10 +2,10 @@ "NotEnoughCashContractCreation" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json index d3af49d2a..3529e31f6 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json @@ -2,10 +2,10 @@ "OutOfGasContractCreation" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json index 5b02ed446..fb4cf51e0 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json @@ -2,10 +2,10 @@ "OutOfGasPrefundedContractCreation" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "100000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json index a2cf43e45..7b6e74d31 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json @@ -2,10 +2,10 @@ "ReturnTest2" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json index 5192004c6..7cd0bbce7 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json @@ -2,10 +2,10 @@ "ReturnTest" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "10000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/StackUnderFlowContractCreationFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/StackUnderFlowContractCreationFiller.json index ac17d7060..d263532e4 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/StackUnderFlowContractCreationFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/StackUnderFlowContractCreationFiller.json @@ -2,10 +2,10 @@ "StackUnderFlowContractCreation" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json index 2b5ad6ec2..e9522b400 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json @@ -2,10 +2,10 @@ "TransactionCreateAutoSuicideContract" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateRandomInitCodeFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateRandomInitCodeFiller.json index d0ac0065c..700d303f4 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateRandomInitCodeFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateRandomInitCodeFiller.json @@ -2,10 +2,10 @@ "TransactionCreateRandomInitCode" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateStopInInitcodeFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateStopInInitcodeFiller.json index 4f53c603a..cc1796310 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateStopInInitcodeFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateStopInInitcodeFiller.json @@ -2,10 +2,10 @@ "TransactionCreateStopInInitcode" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json index 78eaeaec1..7e3429c17 100644 --- a/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json +++ b/src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json @@ -2,10 +2,10 @@ "TransactionCreateSuicideInInitcode" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", + "currentDifficulty" : "0x020000", "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ -- cgit v1.2.3