aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json')
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json70
1 files changed, 67 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json
index 598bb5ed7..6dfbe99f2 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_callcall_00Filler.json
@@ -10,9 +10,15 @@
},
"expect" : [
{
- "indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
+ "indexes" : { "data" : 0, "gas" : -1, "value" : -1 },
"network" : ["Metropolis"],
"result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01",
+ "0x01" : "0x28fea6"
+ }
+ },
"1000000000000000000000000000000000000000" : {
"storage" : {
"0x00" : "0x01"
@@ -31,9 +37,45 @@
}
}
}
+ },
+ {
+ "indexes" : { "data" : 1, "gas" : -1, "value" : -1 },
+ "network" : ["Metropolis"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01",
+ "0x01" : "0x2ccedd"
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "2000000000000000000000000000000000000002" : {
+ "storage" : {
+ "0x02" : "0x00",
+ "0x04" : "0x00",
+ "0x07" : "0x00",
+ "0xe6" : "0x00",
+ "0xe8" : "0x00",
+ "0xec" : "0x00",
+ "0xee" : "0x00",
+ "0xf0" : "0x00"
+ }
+ }
+ }
}
],
"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 ) }",
@@ -55,6 +97,27 @@
"storage" : {
}
},
+ "2000000000000000000000000000000000000000" : {
+ "balance" : "1000000000000000000",
+ "code" : "{ [[ 0 ]] (STATICCALL 350000 0x2000000000000000000000000000000000000001 0 64 0 64 ) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "2000000000000000000000000000000000000001" : {
+ "balance" : "1000000000000000000",
+ "code" : "{ (STATICCALL 250000 0x2000000000000000000000000000000000000002 0 64 0 64 ) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "2000000000000000000000000000000000000002" : {
+ "balance" : "0",
+ "code" : "{ (MSTORE 0 1) (MSTORE 32 (CALLER)) (MSTORE 64 (CALLVALUE)) (MSTORE 96 (ADDRESS)) (MSTORE 128 (ORIGIN)) (MSTORE 160 (CALLDATASIZE)) (MSTORE 192 (CODESIZE)) (MSTORE 224 (GASPRICE))}",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
"code" : "",
@@ -65,7 +128,8 @@
},
"transaction" : {
"data" : [
- ""
+ "0x0000000000000000000000001000000000000000000000000000000000000000",
+ "0x0000000000000000000000002000000000000000000000000000000000000000"
],
"gasLimit" : [
"3000000"
@@ -73,7 +137,7 @@
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "to" : "a000000000000000000000000000000000000000",
"value" : [
"0"
]