aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-05-30 03:07:57 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-05-30 04:34:51 +0800
commit6557c00e32c6057d5fa349c6a990ca975d75a3e8 (patch)
tree7c5ec8a7e217a20e08bfbaf52c1f3100b2e204ec
parent0eef2f31ab59016a7ccad2a99d4644f753eebcb9 (diff)
downloaddexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar.gz
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar.bz2
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar.lz
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar.xz
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.tar.zst
dexon-tests-6557c00e32c6057d5fa349c6a990ca975d75a3e8.zip
src/VMTestsFiller: correct occurrences of invalid JSON
-rw-r--r--src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json2
-rw-r--r--src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json2
-rw-r--r--src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json5
-rw-r--r--src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json5
-rw-r--r--src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json5
-rw-r--r--src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json5
6 files changed, 6 insertions, 18 deletions
diff --git a/src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json b/src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json
index 3e9f4b852..9e13a80b9 100644
--- a/src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json
+++ b/src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json
@@ -19,7 +19,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"nonce" : "0",
- "code" : " 2**(256-1)",
+ "_code" : "2**(256-1)",
"code" : "{ [[ 0 ]] (SMOD (- 0 57896044618658097711785492504343953926634992332820282019728792003956564819968) (- 0 1) ) }",
"storage": {}
}
diff --git a/src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json b/src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json
index 28fdd32b7..cd35cddbb 100644
--- a/src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json
+++ b/src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json
@@ -19,7 +19,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"nonce" : "0",
- "code" : " 2**(256-1)",
+ "_code" : "2**(256-1)",
"code" : "{ [[ 0 ]] (- (SMOD (- 0 57896044618658097711785492504343953926634992332820282019728792003956564819968) (- 0 1) ) 1) }",
"storage": {}
}
diff --git a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json
index 5d04e3d41..6676c118b 100644
--- a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json
+++ b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json
@@ -12,10 +12,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "100000000000000000000000",
"nonce" : "0",
- "code" : "(asm 1 2 3 CALLVALUE JUMP
- JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
+ "code" : "(asm 1 2 3 CALLVALUE JUMP JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN JUMPDEST POP 0 MSTORE MSIZE 0 RETURN JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
"storage": {}
}
},
diff --git a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json
index 219bc4765..c732cf419 100644
--- a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json
+++ b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json
@@ -12,10 +12,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "100000000000000000000000",
"nonce" : "0",
- "code" : "(asm 1 2 3 CALLVALUE JUMP
- JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
+ "code" : "(asm 1 2 3 CALLVALUE JUMP JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN JUMPDEST POP 0 MSTORE MSIZE 0 RETURN JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
"storage": {}
}
},
diff --git a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json
index d014a6a89..e0ca2c214 100644
--- a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json
+++ b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json
@@ -12,10 +12,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "100000000000000000000000",
"nonce" : "0",
- "code" : "(asm 1 2 3 CALLVALUE JUMP
- JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
+ "code" : "(asm 1 2 3 CALLVALUE JUMP JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN JUMPDEST POP 0 MSTORE MSIZE 0 RETURN JUMPDEST 0 MSTORE MSIZE 0 RETURN)",
"storage": {}
}
},
diff --git a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json
index 49913992a..2e243ab28 100644
--- a/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json
+++ b/src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json
@@ -12,10 +12,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "100000000000000000000000",
"nonce" : "0",
- "code" : "(asm 1 2 3 CALLVALUE JUMP
- JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST POP 0 MSTORE MSIZE 0 RETURN
- JUMPDEST POP POP POP 0 MSTORE MSIZE 0 RETURN)",
+ "code" : "(asm 1 2 3 CALLVALUE JUMP JUMPDEST POP POP 0 MSTORE MSIZE 0 RETURN JUMPDEST POP 0 MSTORE MSIZE 0 RETURN JUMPDEST POP POP POP 0 MSTORE MSIZE 0 RETURN)",
"storage": {}
}
},