diff options
author | Dimitry <winsvega@mail.ru> | 2017-08-01 14:11:00 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-08-01 14:11:00 +0800 |
commit | f71c2688e1a839f8429f7e94ec5e56bb182d82cf (patch) | |
tree | e9ad8d0e49e5717880a5bef10c332711d047f5b3 /GeneralStateTests/stStaticCall/static_RawCallGasAsk.json | |
parent | 092c0560e8084a05516430b8ed3a735290c969e1 (diff) | |
download | dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.gz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.bz2 dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.lz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.xz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.zst dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.zip |
regenerate hive tests
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_RawCallGasAsk.json')
-rw-r--r-- | GeneralStateTests/stStaticCall/static_RawCallGasAsk.json | 296 |
1 files changed, 97 insertions, 199 deletions
diff --git a/GeneralStateTests/stStaticCall/static_RawCallGasAsk.json b/GeneralStateTests/stStaticCall/static_RawCallGasAsk.json index b9de03b38..514a357c5 100644 --- a/GeneralStateTests/stStaticCall/static_RawCallGasAsk.json +++ b/GeneralStateTests/stStaticCall/static_RawCallGasAsk.json @@ -2,236 +2,134 @@ "static_RawCallGasAsk" : { "_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_RawCallGasAskFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x072b3b" + } } } - ], - "EIP158" : [ - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x75f6a9df177ba6b148c256fa0063027ba7a7c8add6777053d68e9c0de7e2f9df", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 + "network" : [ + "Metropolis" + ], + "result" : { + "2000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x072b3b" + } } } - ], - "Homestead" : [ - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : 2, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0x4f7ce23b8119233d194c84f73aa5f389c1c02b913c2c2b962c2a333005442614", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 + "network" : [ + "Metropolis" + ], + "result" : { + "3000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x0727d3" + } } } - ], - "Metropolis" : [ - { - "hash" : "0x16494cb32aad6d0e23886406c044b4b7b63f5bcbe225b64c4506ba9debed297d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x8316edda44592e4c0c24e69a6d83779511d7ef56c32ff5248755fc977076021c", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x7a301ff20116b7ac4c1064a5e1a54117316ef3bd8a0927db9f4282f63f8cf249", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } + }, + { + "indexes" : { + "data" : 3, + "gas" : -1, + "value" : -1 }, - { - "hash" : "0xa4607217b54124bd9e8dabecc54843222a5497383470c2fd8d2e64dede13553b", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 + "network" : [ + "Metropolis" + ], + "result" : { + "4000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x0727d3" + } } } - ] - }, + } + ], "pre" : { - "0x094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x00", - "code" : "0x5a600052", - "nonce" : "0x00", + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "", + "code" : "{ (MSTORE 0 (GAS)) }", + "nonce" : "0", "storage" : { } }, - "0x1000000000000000000000000000000000000000" : { - "balance" : "0xe8d4a51000", - "code" : "0x600060006000600060006000355af1", - "nonce" : "0x00", + "1000000000000000000000000000000000000000" : { + "balance" : "1000000000000", + "code" : "{ (CALL (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0x1000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x600060006000600073094f5374fce5edbc8e2a8697c15331677e6ebf0b622dc6c0fa505a600155", - "nonce" : "0x00", + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "{ (STATICCALL 3000000 0x094f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0) [[1]] (GAS) }", + "nonce" : "0", "storage" : { } }, - "0x2000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x600060006000600073094f5374fce5edbc8e2a8697c15331677e6ebf0b617530fa505a600155", - "nonce" : "0x00", + "2000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "{ (STATICCALL 30000 0x094f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0) [[1]] (GAS) }", + "nonce" : "0", "storage" : { } }, - "0x3000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x611f406000611f40600073094f5374fce5edbc8e2a8697c15331677e6ebf0b622dc6c0fa505a600155", - "nonce" : "0x00", + "3000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "{ (STATICCALL 3000000 0x094f5374fce5edbc8e2a8697c15331677e6ebf0b 0 8000 0 8000) [[1]] (GAS) }", + "nonce" : "0", "storage" : { } }, - "0x4000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x611f406000611f40600073094f5374fce5edbc8e2a8697c15331677e6ebf0b617530fa505a600155", - "nonce" : "0x00", + "4000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "{ (STATICCALL 30000 0x094f5374fce5edbc8e2a8697c15331677e6ebf0b 0 8000 0 8000) [[1]] (GAS) }", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xe8d4a51000", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -244,14 +142,14 @@ "0x0000000000000000000000004000000000000000000000000000000000000001" ], "gasLimit" : [ - "0x07a120" + "500000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0x1000000000000000000000000000000000000000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", "value" : [ - "0x00" + "0" ] } } |