aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-05-30 03:07:57 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-01 06:21:37 +0800
commit7f03a96a7b52d0c1eb59479897ff2024bc009f61 (patch)
tree9679ca4381deeaf50e703fa651757c80931a315a
parent7e8254e8bb371ac50ccea8642fbdd426a2d9ec56 (diff)
downloaddexon-tests-7f03a96a7b52d0c1eb59479897ff2024bc009f61.tar.gz
dexon-tests-7f03a96a7b52d0c1eb59479897ff2024bc009f61.tar.zst
dexon-tests-7f03a96a7b52d0c1eb59479897ff2024bc009f61.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": {}
}
},