From cd02ccfec7df7dbc4fb7017dceb18cd00d6208f2 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Mon, 5 Feb 2018 01:45:08 +0300 Subject: fill stRevertTest --- .../stRevertTest/LoopCallsDepthThenRevert2Filler.json | 3 ++- .../stRevertTest/LoopCallsDepthThenRevert3Filler.json | 3 ++- .../stRevertTest/LoopCallsThenRevertFiller.json | 3 ++- .../stRevertTest/RevertDepthCreateAddressCollisionFiller.json | 6 +++--- .../stRevertTest/RevertRemoteSubCallStorageOOG2Filler.json | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert2Filler.json b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert2Filler.json index 68a1dd968..452544dd8 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert2Filler.json +++ b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert2Filler.json @@ -36,7 +36,8 @@ "a000000000000000000000000000000000000000" : { "balance" : "10", "code" : "create in init code on depth = 1024. account should not be created", - "code" : "{ (JUMPI 63 (EQ (SLOAD 0) 1023)) [[0]] (+ (SLOAD 0) 1) (CALL (GAS) 0xa000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 83 (LT (SLOAD 0) 1050)) (JUMPDEST) (MSTORE 0 0x600060006002f0) (CREATE 3 25 7) (JUMPDEST)}", + "//code" : "{ (JUMPI 63 (EQ (SLOAD 0) 1023)) [[0]] (+ (SLOAD 0) 1) (CALL (GAS) 0xa000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 83 (LT (SLOAD 0) 1050)) (JUMPDEST) (MSTORE 0 0x600060006002f0) (CREATE 3 25 7) (JUMPDEST)}", + "code" : "0x6103ff60005414603f576001600054016000556000600060006000600073a0000000000000000000000000000000000000005af15061041a600054106053575b66600060006002f0600052600760196003f0505b", "nonce" : "0", "storage" : { } diff --git a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert3Filler.json b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert3Filler.json index df532aa85..7e7a8b298 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert3Filler.json +++ b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsDepthThenRevert3Filler.json @@ -40,7 +40,8 @@ "a000000000000000000000000000000000000000" : { "balance" : "10", "code" : "create in init code on depth = 1023. account would be created", - "code" : "{ (JUMPI 63 (EQ (SLOAD 0) 1022)) [[0]] (+ (SLOAD 0) 1) (CALL (GAS) 0xa000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 83 (LT (SLOAD 0) 1050)) (JUMPDEST) (MSTORE 0 0x600060006002f0) (CREATE 3 25 7) (JUMPDEST)}", + "//code" : "{ (JUMPI 63 (EQ (SLOAD 0) 1022)) [[0]] (+ (SLOAD 0) 1) (CALL (GAS) 0xa000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 83 (LT (SLOAD 0) 1050)) (JUMPDEST) (MSTORE 0 0x600060006002f0) (CREATE 3 25 7) (JUMPDEST)}", + "code" : "0x6103fe60005414603f576001600054016000556000600060006000600073a0000000000000000000000000000000000000005af15061041a600054106053575b66600060006002f0600052600760196003f0505b", "nonce" : "0", "storage" : { } diff --git a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsThenRevertFiller.json b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsThenRevertFiller.json index 3caa03bc2..7e070a928 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/LoopCallsThenRevertFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/LoopCallsThenRevertFiller.json @@ -81,7 +81,8 @@ }, "a000000000000000000000000000000000000000" : { "balance" : "", - "code" : "{ (JUMPDEST) [[0]] (- (SLOAD 0) 1) (CALL 50000 0xb000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 0 (SLOAD 0))}", + "//code" : "{ (JUMPDEST) [[0]] (- (SLOAD 0) 1) (CALL 50000 0xb000000000000000000000000000000000000000 0 0 0 0 0) (JUMPI 0 (SLOAD 0))}", + "code" : "0x5b6001600054036000556000600060006000600073b00000000000000000000000000000000000000061c350f150600054600057", "nonce" : "0", "storage" : { "0x00" : "0x0352" diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json index 2cc141fa8..ed5ed221d 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json @@ -37,7 +37,7 @@ "gas" : 1, "value" : 0 }, - "network" : ["ALL"], + "network" : [">Frontier"], "result" : { "3e180b1862f9d158abb5e519a6d8605540c23682" : { "balance" : "0x06", @@ -61,7 +61,7 @@ "gas" : 0, "value" : 0 }, - "network" : ["EIP158", "EIP150"], + "network" : [">=EIP158", "EIP150"], "result" : { "3e180b1862f9d158abb5e519a6d8605540c23682" : { "balance" : "0x05", @@ -105,7 +105,7 @@ "gas" : 0, "value" : 0 }, - "network" : ["ALL"], + "network" : [">Frontier"], "result" : { "3e180b1862f9d158abb5e519a6d8605540c23682" : { "balance" : "0x05", diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertRemoteSubCallStorageOOG2Filler.json b/src/GeneralStateTestsFiller/stRevertTest/RevertRemoteSubCallStorageOOG2Filler.json index f8ef80883..2306da4e7 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertRemoteSubCallStorageOOG2Filler.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertRemoteSubCallStorageOOG2Filler.json @@ -49,7 +49,7 @@ "gas" : 1, "value" : -1 }, - "network" : ["ALL"], + "network" : [">Frontier"], "result" : { "a000000000000000000000000000000000000000" : { "balance" : "1", -- cgit v1.2.3