aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json210
1 files changed, 142 insertions, 68 deletions
diff --git a/GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json b/GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json
index 57578ba2c..56b371625 100644
--- a/GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json
+++ b/GeneralStateTests/stStaticCall/static_callcodecallcallcode_101_2.json
@@ -6,91 +6,165 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_callcodecallcallcode_101_2Filler.json"
},
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
- "currentGasLimit" : "30000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x01c9c380",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : 0,
- "gas" : -1,
- "value" : -1
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0xb89fd15286651c620aa01984637e9f605a459703e04fd0c7383f32755b47d7c6",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x2d1cf4"
- }
- }
+ {
+ "hash" : "0xb89fd15286651c620aa01984637e9f605a459703e04fd0c7383f32755b47d7c6",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xb89fd15286651c620aa01984637e9f605a459703e04fd0c7383f32755b47d7c6",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x2d02c8"
- }
- }
+ {
+ "hash" : "0xb89fd15286651c620aa01984637e9f605a459703e04fd0c7383f32755b47d7c6",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
}
- }
- ],
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xccadb2929842f0f5f70d5469f94b0b540f68be9bab6a0b708b88d33c1d5965bb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xccadb2929842f0f5f70d5469f94b0b540f68be9bab6a0b708b88d33c1d5965bb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xccadb2929842f0f5f70d5469f94b0b540f68be9bab6a0b708b88d33c1d5965bb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xccadb2929842f0f5f70d5469f94b0b540f68be9bab6a0b708b88d33c1d5965bb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x963fd9ac89d3ecf5896ef7b3d37b66f8c0b9a50ef3ca58df694ca3254ba42afa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xc1d625b450e52fa94fcc028c427eb8fbcb715034ce0e28d152f4e79332bbcc24",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
"pre" : {
- "1000000000000000000000000000000000000000" : {
- "balance" : "1000000000000000000",
- "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) [[ 0 ]] (CALLCODE 350000 0x1000000000000000000000000000000000000001 (CALLVALUE) 0 64 0 64 ) [[ 1 ]] (GAS) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60003560005260406000604060003473100000000000000000000000000000000000000162055730f26000555a600155",
+ "nonce" : "0x00",
"storage" : {
}
},
- "1000000000000000000000000000000000000001" : {
- "balance" : "1000000000000000000",
- "code" : "{ (STATICCALL 300000 (CALLDATALOAD 0) 0 64 0 64 ) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000001" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6040600060406000600035620493e0fa",
+ "nonce" : "0x00",
"storage" : {
}
},
- "1000000000000000000000000000000000000002" : {
- "balance" : "1000000000000000000",
- "code" : "{ (CALLCODE 250000 0x1000000000000000000000000000000000000003 0 0 64 0 64 ) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000002" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x604060006040600060007310000000000000000000000000000000000000036203d090f2",
+ "nonce" : "0x00",
"storage" : {
}
},
- "1000000000000000000000000000000000000003" : {
- "balance" : "0",
- "code" : "{ (MSTORE 1 1) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000003" : {
+ "balance" : "0x00",
+ "code" : "0x6001600152",
+ "nonce" : "0x00",
"storage" : {
}
},
- "2000000000000000000000000000000000000002" : {
- "balance" : "1000000000000000000",
- "code" : "{ (CALLCODE 250000 0x1000000000000000000000000000000000000003 1 0 64 0 64 ) }",
- "nonce" : "0",
+ "0x2000000000000000000000000000000000000002" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x604060006040600060017310000000000000000000000000000000000000036203d090f2",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1000000000000000000",
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -101,14 +175,14 @@
"0x0000000000000000000000002000000000000000000000000000000000000002"
],
"gasLimit" : [
- "3000000"
+ "0x2dc6c0"
],
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- "0"
+ "0x00"
]
}
}