diff options
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json | 74 |
1 files changed, 68 insertions, 6 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json index c0155175d..4b0326f33 100644 --- a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json +++ b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json @@ -10,12 +10,38 @@ }, "expect" : [ { - "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "indexes" : { "data" : 0, "gas" : -1, "value" : -1 }, "network" : ["Metropolis"], "result" : { - "1000000000000000000000000000000000000000" : { + "a000000000000000000000000000000000000000" : { "storage" : { - "0x00" : "0x01" + "0x00" : "0x01", + "0x01" : "0x283b4b" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x014a" : "0x00", + "0x014c" : "0x00", + "0x0150" : "0x00", + "0x0152" : "0x00", + "0x0154" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00", + "0x04" : "0x00", + "0x07" : "0x00" + } + } + } + }, + { + "indexes" : { "data" : 1, "gas" : -1, "value" : -1 }, + "network" : ["Metropolis"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x2cb205" } }, "1000000000000000000000000000000000000002" : { @@ -35,6 +61,13 @@ } ], "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[ 0 ]] (CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) [[ 1 ]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, "1000000000000000000000000000000000000000" : { "balance" : "1000000000000000000", "code" : "{ [[ 0 ]] (STATICCALL 350000 0x1000000000000000000000000000000000000001 0 64 0 64 ) }", @@ -44,7 +77,7 @@ }, "1000000000000000000000000000000000000001" : { "balance" : "1000000000000000000", - "code" : "{ (STATICCALL 300000 0x1000000000000000000000000000000000000002 0 64 0 64 ) }", + "code" : "{ (STATICCALL 300000 0x1000000000000000000000000000000000000002 0 64 0 64 ) (MSTORE 3 1) }", "nonce" : "0", "storage" : { } @@ -63,6 +96,34 @@ "storage" : { } }, + "2000000000000000000000000000000000000000" : { + "balance" : "1000000000000000000", + "code" : "{ [[ 0 ]] (STATICCALL 350000 0x2000000000000000000000000000000000000001 0 64 0 64 ) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000001" : { + "balance" : "1000000000000000000", + "code" : "{ (STATICCALL 300000 0x2000000000000000000000000000000000000002 0 64 0 64 ) (MSTORE 3 1) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000002" : { + "balance" : "1000000000000000000", + "code" : "{ (MSTORE 4 1) (CALLCODE 250000 0x2000000000000000000000000000000000000003 3 0 64 0 64 ) (MSTORE 6 1) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000003" : { + "balance" : "0", + "code" : "{ (MSTORE 3 1) }", + "nonce" : "0", + "storage" : { + } + }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "1000000000000000000", "code" : "", @@ -73,7 +134,8 @@ }, "transaction" : { "data" : [ - "" + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000" ], "gasLimit" : [ "3000000" @@ -81,7 +143,7 @@ "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000000", + "to" : "a000000000000000000000000000000000000000", "value" : [ "0" ] |