From f71c2688e1a839f8429f7e94ec5e56bb182d82cf Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 09:11:00 +0300 Subject: regenerate hive tests --- .../stStaticCall/static_CheckOpcodes.json | 416 +++------------------ 1 file changed, 53 insertions(+), 363 deletions(-) (limited to 'GeneralStateTests/stStaticCall/static_CheckOpcodes.json') diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes.json index dfeb1886e..7efcf80dd 100644 --- a/GeneralStateTests/stStaticCall/static_CheckOpcodes.json +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes.json @@ -2,382 +2,72 @@ "static_CheckOpcodes" : { "_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_CheckOpcodesFiller.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" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "EIP158" : [ - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - } - ], - "Frontier" : [ - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - } - ], - "Homestead" : [ - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xd4ba63488362b427d1681871e5c0ce478a1c56038a14e6abf1eb08a1e7362ecd", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xcd0bf5c8667410a60b0888ddb7da55cfe0099041c03ac5de6896a8e1c9be19f7", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x99cec9ee8168e34dca27e17bce9f493d006f43e254b636bf4934b06f2444d21f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xcd0bf5c8667410a60b0888ddb7da55cfe0099041c03ac5de6896a8e1c9be19f7", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x99cec9ee8168e34dca27e17bce9f493d006f43e254b636bf4934b06f2444d21f", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x5b2ad133e3294085c264936e2ba8bd91f8eeca0243ed5633a1efba582cd84a35", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0eb7478ae040cc90426dade6c3ee468d5c45e9b89274a8d5ffff5b978587575f", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x0b94298a79e1a7e5de1aded75e212679582b6df8d68f679f06ec4f208583bfb6", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 - } - } - ] - }, + } + ], "pre" : { - "0x1000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6000600060006000600035620186a0fa600155", - "nonce" : "0x00", + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[1]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0x1000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000014604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", - "nonce" : "0x00", + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000000 (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", "storage" : { } }, - "0x1000000000000000000000000000000000000002" : { - "balance" : "0x00", - "code" : "0x6000600060006000731000000000000000000000000000000000000003620186a0fa", - "nonce" : "0x00", + "1000000000000000000000000000000000000002" : { + "balance" : "0", + "code" : "{ (STATICCALL 100000 0x1000000000000000000000000000000000000003 0 0 0 0) }", + "nonce" : "0", "storage" : { } }, - "0x1000000000000000000000000000000000000003" : { - "balance" : "0x00", - "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000214604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", - "nonce" : "0x00", + "1000000000000000000000000000000000000003" : { + "balance" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000002 (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", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xe8d4a51000", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -388,16 +78,16 @@ "0x0000000000000000000000001000000000000000000000000000000000000002" ], "gasLimit" : [ - "0xc350", - "0x051c98" + "50000", + "335000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0x1000000000000000000000000000000000000000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", "value" : [ - "0x00", - "0x64" + "0", + "100" ] } } -- cgit v1.2.3