aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json131
1 files changed, 87 insertions, 44 deletions
diff --git a/GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json b/GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json
index 998ed8e13..e4a873680 100644
--- a/GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json
+++ b/GeneralStateTests/stStaticCall/static_callToCallCodeOpCodeCheck.json
@@ -6,58 +6,101 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_callToCallCodeOpCodeCheckFiller.json"
},
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
- "currentGasLimit" : "10000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01"
- }
- }
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0xbe52a420010514c20a0755b3a4848f702ca9dc6622dcd487f173e53b5362079e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
}
- }
- ],
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xbe52a420010514c20a0755b3a4848f702ca9dc6622dcd487f173e53b5362079e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xbe52a420010514c20a0755b3a4848f702ca9dc6622dcd487f173e53b5362079e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xbe52a420010514c20a0755b3a4848f702ca9dc6622dcd487f173e53b5362079e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x9ee4a79f211e99a66a190f1ee07b9d8e55f8268da4e4d3bd8d1432f8044b40e5",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
"pre" : {
- "1000000000000000000000000000000000000000" : {
- "balance" : "1000000000000000000",
- "code" : "{ [[ 0 ]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6000600060006000600035620186a0fa600055",
+ "nonce" : "0x00",
"storage" : {
}
},
- "1000000000000000000000000000000000000001" : {
- "balance" : "1000000000000000000",
- "code" : "{ (MSTORE 0 (CALLCODE 100000 0x1000000000000000000000000000000000000002 0 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 1) ) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000001" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60006000600060006000731000000000000000000000000000000000000002620186a0f26000526000516001146038576001600155603e565b60016001525b",
+ "nonce" : "0x00",
"storage" : {
}
},
- "1000000000000000000000000000000000000002" : {
- "balance" : "1000000000000000000",
- "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000002" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000114604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1000000000000000000",
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -67,14 +110,14 @@
"0x0000000000000000000000001000000000000000000000000000000000000001"
],
"gasLimit" : [
- "1000000"
+ "0x0f4240"
],
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- "100000"
+ "0x0186a0"
]
}
}