diff options
revert opcode test fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json | 49 |
1 files changed, 44 insertions, 5 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json index 17c87bb63..be1a3146a 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json @@ -15,12 +15,51 @@ "gas" : -1, "value" : -1 }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999958985", + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, "network" : ["Metropolis"], "result" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999970000", "nonce" : "1" }, "a000000000000000000000000000000000000000" : { + "balance" : "0", "storage" : { } } @@ -37,27 +76,27 @@ } }, "a000000000000000000000000000000000000000" : { - "balance" : "1", - "code" : "0x600160005560016000fd", + "balance" : "0", + "code" : "{ [[0]] 1 (REVERT 0 1) [[1]] 11 }", + "code" : "0x600160005560016000fd6011600155", "nonce" : "", "storage" : { } } }, "transaction" : { - "data" : "", "data" : [ "" ], "gasLimit" : [ - "800000" + "800000", "30000" ], "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "a000000000000000000000000000000000000000", "value" : [ - "10" + "0", "10" ] } } |