aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stInitCodeTest
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-02-09 01:13:33 +0800
committerDimitry <dimitry@ethdev.com>2017-02-10 02:24:57 +0800
commit4bedb7293024d1724993df23d2b20863fe24c782 (patch)
treeb0c3426afd7ee1ac94c09e2c3a224ce04392261c /src/GeneralStateTestsFiller/stInitCodeTest
parent7dd70cc8e9a8b1c8d9c3e3811943b4c937d7b243 (diff)
downloaddexon-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/stInitCodeTest')
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractNoCashFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallRecursiveContractFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallTheContractToCreateEmptyContractFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/NotEnoughCashContractCreationFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasPrefundedContractCreationFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/StackUnderFlowContractCreationFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateAutoSuicideContractFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateRandomInitCodeFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateStopInInitcodeFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/TransactionCreateSuicideInInitcodeFiller.json6
18 files changed, 54 insertions, 54 deletions
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" : [