diff options
revert opcode test fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json | 56 |
1 files changed, 50 insertions, 6 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json index e4861d89b..9e0304078 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json @@ -15,13 +15,49 @@ "gas" : -1, "value" : -1 }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, "network" : ["Metropolis"], "result" : { - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { "shouldnotexist" : "1" }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" } } } @@ -34,19 +70,27 @@ "nonce" : "0", "storage" : { } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] 1 (REVERT 0 1) [[1]] 12 }", + "code" : "{ (MSTORE 0 0x600160005560016000fd6011600155 ) [[1]](CREATE 1 17 15) [[0]] 12 }", + "nonce" : "0", + "storage" : { + } } }, "transaction" : { "data" : [ - "0x600160005560016000fd" + "0x600160005560016000fe6011600155" ], "gasLimit" : [ - "160000" + "460000", "70000" ], "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ "0" ] |