aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-08-01 14:11:00 +0800
committerDimitry <winsvega@mail.ru>2017-08-01 14:11:00 +0800
commitf71c2688e1a839f8429f7e94ec5e56bb182d82cf (patch)
treee9ad8d0e49e5717880a5bef10c332711d047f5b3 /GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json
parent092c0560e8084a05516430b8ed3a735290c969e1 (diff)
downloadtangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.gz
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.bz2
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.lz
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.xz
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.zst
tangerine-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.zip
regenerate hive tests
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json121
1 files changed, 44 insertions, 77 deletions
diff --git a/GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json b/GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json
index a3854a2c5..841369550 100644
--- a/GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json
+++ b/GeneralStateTests/stStaticCall/static_callToCallOpCodeCheck.json
@@ -2,95 +2,62 @@
"static_callToCallOpCodeCheck" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_callToCallOpCodeCheckFiller.json"
},
"env" : {
- "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
- "currentGasLimit" : "0x989680",
- "currentNumber" : "0x01",
- "currentTimestamp" : "0x03e8",
- "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "post" : {
- "EIP150" : [
- {
- "hash" : "0x48144ffd7a138f29a04d4982125f32049c1955c0689656d410f4c5c42ff1e9a4",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [
+ "Metropolis"
+ ],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
}
}
- ],
- "EIP158" : [
- {
- "hash" : "0x48144ffd7a138f29a04d4982125f32049c1955c0689656d410f4c5c42ff1e9a4",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Frontier" : [
- {
- "hash" : "0x48144ffd7a138f29a04d4982125f32049c1955c0689656d410f4c5c42ff1e9a4",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Homestead" : [
- {
- "hash" : "0x48144ffd7a138f29a04d4982125f32049c1955c0689656d410f4c5c42ff1e9a4",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Metropolis" : [
- {
- "hash" : "0xa1263f951927904a54d7e668e89eb03b4cb2b173275f3db7bd77982aec9c4057",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ]
- },
+ }
+ ],
"pre" : {
- "0x1000000000000000000000000000000000000000" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x6000600060006000600035620186a0fa600055",
- "nonce" : "0x00",
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "1000000000000000000",
+ "code" : "{ [[ 0 ]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }",
+ "nonce" : "0",
"storage" : {
}
},
- "0x1000000000000000000000000000000000000001" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x60006000600060006000731000000000000000000000000000000000000002620186a0f16000526000516001146038576001600155603e565b60016001525b",
- "nonce" : "0x00",
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "1000000000000000000",
+ "code" : "{ (MSTORE 0 (CALL 100000 0x1000000000000000000000000000000000000002 0 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 1) ) }",
+ "nonce" : "0",
"storage" : {
}
},
- "0x1000000000000000000000000000000000000002" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000114604b5760026001556051565b60016001525b30731000000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b",
- "nonce" : "0x00",
+ "1000000000000000000000000000000000000002" : {
+ "balance" : "1000000000000000000",
+ "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }",
+ "nonce" : "0",
"storage" : {
}
},
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7640000",
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
}
@@ -100,14 +67,14 @@
"0x0000000000000000000000001000000000000000000000000000000000000001"
],
"gasLimit" : [
- "0x0f4240"
+ "1000000"
],
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x1000000000000000000000000000000000000000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000000",
"value" : [
- "0x0186a0"
+ "100000"
]
}
}