aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stInitCodeTest
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-01-31 01:10:17 +0800
committerGitHub <noreply@github.com>2018-01-31 01:10:17 +0800
commitf88ed968590f2e30907d0d8f6ef16ac134d02cd5 (patch)
tree7da9cad5fc2ec24e2b16da787143a406aec2bed1 /src/GeneralStateTestsFiller/stInitCodeTest
parent8235bdcb40c36d0d1359167683dc831fdb06ba96 (diff)
parentc083eed5a526f3587c424dd1e2622f81a9ae2878 (diff)
downloaddexon-tests-f88ed968590f2e30907d0d8f6ef16ac134d02cd5.tar.gz
dexon-tests-f88ed968590f2e30907d0d8f6ef16ac134d02cd5.tar.zst
dexon-tests-f88ed968590f2e30907d0d8f6ef16ac134d02cd5.zip
Merge pull request #367 from ethereum/schema-linting
Improvements to Test Schema Linting
Diffstat (limited to 'src/GeneralStateTestsFiller/stInitCodeTest')
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json12
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json12
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json12
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json2
7 files changed, 24 insertions, 24 deletions
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json
index 99f3a1a0c..8c511bf66 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractAndCallItOOGFiller.json
@@ -20,7 +20,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -30,7 +30,7 @@
"balance" : "1",
"nonce" : "0",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -46,7 +46,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -56,7 +56,7 @@
"balance" : "1",
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -72,7 +72,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -82,7 +82,7 @@
"balance" : "1",
"nonce" : "0",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json
index 25f69bff0..dfbf80289 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractOOGBonusGasFiller.json
@@ -20,7 +20,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -30,7 +30,7 @@
"balance" : "1",
"nonce" : "0",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -46,7 +46,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -56,7 +56,7 @@
"balance" : "1",
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -72,7 +72,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
@@ -82,7 +82,7 @@
"balance" : "1",
"nonce" : "0",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json
index bc1740fd4..e799477b6 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractIfCalledFiller.json
@@ -20,7 +20,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"62c01474f089b07dae603491675dc5b5748f7049" : {
@@ -33,7 +33,7 @@
"balance" : "2",
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -49,7 +49,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"62c01474f089b07dae603491675dc5b5748f7049" : {
@@ -62,7 +62,7 @@
"balance" : "2",
"nonce" : "2",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -78,7 +78,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "1",
"storage" : {
- "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
+ "0x00" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"62c01474f089b07dae603491675dc5b5748f7049" : {
@@ -91,7 +91,7 @@
"balance" : "2",
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json
index fe9675a57..160863992 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/CallContractToCreateContractWhichWouldCreateContractInInitCodeFiller.json
@@ -30,7 +30,7 @@
"d2571607e241ecf590ed94b12d87c94babe36db6" : {
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -56,7 +56,7 @@
"d2571607e241ecf590ed94b12d87c94babe36db6" : {
"nonce" : "2",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
@@ -82,7 +82,7 @@
"d2571607e241ecf590ed94b12d87c94babe36db6" : {
"nonce" : "1",
"storage" : {
- "0x" : "0x0c"
+ "0x00" : "0x0c"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json
index 3529e31f6..7e6de73af 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/OutOfGasContractCreationFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : "Frontier",
+ "network" : ["Frontier"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "838000"
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json
index 7b6e74d31..be99819c0 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTest2Filler.json
@@ -19,7 +19,7 @@
"result" : {
"194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
- "0x" : "0x15",
+ "0x00" : "0x15",
"0x01" : "0x3f"
}
}
diff --git a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json
index 7cd0bbce7..487d2173c 100644
--- a/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json
+++ b/src/GeneralStateTestsFiller/stInitCodeTest/ReturnTestFiller.json
@@ -19,7 +19,7 @@
"result" : {
"194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage" : {
- "0x" : "0x15"
+ "0x00" : "0x15"
}
}
}