From 6557c00e32c6057d5fa349c6a990ca975d75a3e8 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Tue, 29 May 2018 13:07:57 -0600 Subject: src/VMTestsFiller: correct occurrences of invalid JSON --- src/VMTestsFiller/vmArithmeticTest/smod_i256min1Filler.json | 2 +- src/VMTestsFiller/vmArithmeticTest/smod_i256min2Filler.json | 2 +- .../vmIOandFlowOperations/DynamicJump_value1Filler.json | 5 +---- .../vmIOandFlowOperations/DynamicJump_value2Filler.json | 5 +---- .../vmIOandFlowOperations/DynamicJump_value3Filler.json | 5 +---- .../vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json | 5 +---- 6 files changed, 6 insertions(+), 18 deletions(-) (limited to 'src') 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": {} } }, -- cgit