diff options
author | winsvega <winsvega@mail.ru> | 2017-06-28 23:14:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-28 23:14:10 +0800 |
commit | 613e89d4391aeec8a8fd3a1de509ba14119e8cf9 (patch) | |
tree | 475468b0e6ab603da89bf8b145a832da4e4f0416 | |
parent | a2f12738c988551789c7ed046220643cb8a30165 (diff) | |
parent | ca49d2ada6571f55e52c702a680fe0d5522c37d3 (diff) | |
download | dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar.gz dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar.bz2 dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar.lz dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar.xz dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.tar.zst dexon-tests-613e89d4391aeec8a8fd3a1de509ba14119e8cf9.zip |
Merge pull request #198 from ethereum/morestatic
more staticcall tests
12 files changed, 4425 insertions, 0 deletions
diff --git a/GeneralStateTests/stStaticCall/static_CheckCallCostOOG.json b/GeneralStateTests/stStaticCall/static_CheckCallCostOOG.json new file mode 100644 index 000000000..8dcc9b31d --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckCallCostOOG.json @@ -0,0 +1,148 @@ +{ + "static_CheckCallCostOOG" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckCallCostOOGFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0xcd73fcab3c89cf2f76f46d5d53599a268513c3e8db7e1e4fbd9f3ce7066aaa72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xc4115b71dc009d7cedcff1fd79f30fe643d5e87f10749698fb865d8ed2fb6076", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xcd73fcab3c89cf2f76f46d5d53599a268513c3e8db7e1e4fbd9f3ce7066aaa72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xc4115b71dc009d7cedcff1fd79f30fe643d5e87f10749698fb865d8ed2fb6076", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xcd73fcab3c89cf2f76f46d5d53599a268513c3e8db7e1e4fbd9f3ce7066aaa72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xc4115b71dc009d7cedcff1fd79f30fe643d5e87f10749698fb865d8ed2fb6076", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xcd73fcab3c89cf2f76f46d5d53599a268513c3e8db7e1e4fbd9f3ce7066aaa72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xc4115b71dc009d7cedcff1fd79f30fe643d5e87f10749698fb865d8ed2fb6076", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xcd73fcab3c89cf2f76f46d5d53599a268513c3e8db7e1e4fbd9f3ce7066aaa72", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xea0ba27d31ec6d0733e9ece3fc03ec693ae528a50681aee3b37f57dd923ee3d0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060007320000000000000000000000000000000000000006064fa", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001600152", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x54c4", + "0x5528" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes.json new file mode 100644 index 000000000..4c4eae3c2 --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes.json @@ -0,0 +1,404 @@ +{ + "static_CheckOpcodes" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodesFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "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 + } + } + ], + "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", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000014604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x6000600060006000731000000000000000000000000000000000000003620186a0fa", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000214604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000001000000000000000000000000000000000000002" + ], + "gasLimit" : [ + "0xc350", + "0x051c98" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00", + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes2.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes2.json new file mode 100644 index 000000000..608162cea --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes2.json @@ -0,0 +1,936 @@ +{ + "static_CheckOpcodes2" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes2Filler.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x067ec5be84441b294f6ada42a12ed9a1206170e030cd69326ed3b9f797c26626", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xb3e6f9aed7d3c82d539b1b763c6a7279ebb6d7bccdb11ee489eb81fff87c6eac", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x3a5fd102a0fb99e1880efd26ffbe13bb6fbd3ea1f533e9e7302fed6acdec276c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xb3e6f9aed7d3c82d539b1b763c6a7279ebb6d7bccdb11ee489eb81fff87c6eac", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x3a5fd102a0fb99e1880efd26ffbe13bb6fbd3ea1f533e9e7302fed6acdec276c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xee41c0771718dec5ed211ab41c936d5b4083c62266043058315f61e5d8e52ad2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xebd25cd1b32ebfbb0c2bcb1d07e9489624d0389ed7fd81e3ffd4709d9f29a6f6", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x0579ec90031ca3d0c888bf328ff46b0d5964308031563c434fafdc977de8989c", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xb3e6f9aed7d3c82d539b1b763c6a7279ebb6d7bccdb11ee489eb81fff87c6eac", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x3a5fd102a0fb99e1880efd26ffbe13bb6fbd3ea1f533e9e7302fed6acdec276c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xb3e6f9aed7d3c82d539b1b763c6a7279ebb6d7bccdb11ee489eb81fff87c6eac", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x3a5fd102a0fb99e1880efd26ffbe13bb6fbd3ea1f533e9e7302fed6acdec276c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0xa10aafdb5c076b4008129ac242d7fd7ce8643b33f3bb1b63f3e94e41d531632d", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x18698268bd772ea3667a903927371966f86beadc8fb8210745ded2c2b36516c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xa10aafdb5c076b4008129ac242d7fd7ce8643b33f3bb1b63f3e94e41d531632d", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x18698268bd772ea3667a903927371966f86beadc8fb8210745ded2c2b36516c7", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x04e31e5b78b1ff332d63016be2de743ee54b77a3f182ce67bc85a081dcdb3f0d", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xfde1af4dadd2e46212071eac7d12b2534ba98a76d38d8ed86f38c799968d12a8", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x04e31e5b78b1ff332d63016be2de743ee54b77a3f182ce67bc85a081dcdb3f0d", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xfde1af4dadd2e46212071eac7d12b2534ba98a76d38d8ed86f38c799968d12a8", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600035620186a0fa600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600073a100000000000000000000000000000000000001620186a0f16000526000516001146038576002600155603e565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x60006000526000600060006000600173a200000000000000000000000000000000000001620186a0f160005260016001526001600252", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600073a300000000000000000000000000000000000001620186a0f26000526000516001146038576002600155603e565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x6000600060006000600173a400000000000000000000000000000000000001620186a0f26000526000516001146038576002600155603e565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x5000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x600060006000600073a500000000000000000000000000000000000001620186a0f46000526000516001146036576002600155603c565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa100000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a100000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa200000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373200000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a200000000000000000000000000000000000001146074576002600155607a565b60016001525b34600114608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa300000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373300000000000000000000000000000000000000114604b5760026001556051565b60016001525b30733000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa400000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373400000000000000000000000000000000000000114604b5760026001556051565b60016001525b30734000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600114608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa500000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000014604b5760026001556051565b60016001525b30735000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc350", + "0x051c98" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00", + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes3.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes3.json new file mode 100644 index 000000000..200d01a14 --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes3.json @@ -0,0 +1,943 @@ +{ + "static_CheckOpcodes3" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes3Filler.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xda80d43ff3d93f2da9afe1aec9e6017b5243f00e42b5f9af1c60d249f049e636", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x6ddfcb52786e2ed766f858567d24359f70aad4bdb165397801293c47da831db1", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xa2af7ae68e535858c283417b5d39c6707a5a9dae16a7348bdba77b09ba21f6e5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x6ddfcb52786e2ed766f858567d24359f70aad4bdb165397801293c47da831db1", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xa2af7ae68e535858c283417b5d39c6707a5a9dae16a7348bdba77b09ba21f6e5", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x6e64dc2bda8358820ac7857d0287d54c492eb30e6e89ced9fb4736064b74ef87", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x04ba6fadce9ab1cfe52034f564cc8ea79d5a65cb341ea65ead0319f9c4dcde18", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x60c3ecd16ed3b39206e1784094270e8c8cb57224dcb4819e29db447c2be00248", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xe0aa3632a809db7d3d3de69a051d49336d1da3e4df426d0bccb1135935ac843b", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x60c3ecd16ed3b39206e1784094270e8c8cb57224dcb4819e29db447c2be00248", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe0aa3632a809db7d3d3de69a051d49336d1da3e4df426d0bccb1135935ac843b", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x38b6ed7d6b63a4e9a9987fe7a2be87eb87f5a4bc172c4198d6cb442a097244c7", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x463fa0d3cf39e2f2f492d8468fa673b5b245b48dd8688d5987bb56de96bda4bc", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xce922c02fc046011fe425764c6ebc59ee4e1e6ed1bd8a29cab65a8b325f55535", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x25657af3417d0cfdcbdfcb6cfbda3be22cceb9615a5de13d635b3ce2afb60b90", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x758d8a723d5455b3a11e505985925483ae70e006f1b97a84766485cf4e2d5efb", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x25657af3417d0cfdcbdfcb6cfbda3be22cceb9615a5de13d635b3ce2afb60b90", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x758d8a723d5455b3a11e505985925483ae70e006f1b97a84766485cf4e2d5efb", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600035620186a0fa600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73a1000000000000000000000000000000000000016000526000600060206000600073b000000000000000000000000000000000000001620186a0f160005260005160011460505760026001556056565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73a1000000000000000000000000000000000000016000526000600060206000600173b000000000000000000000000000000000000001620186a0f160005260016001526001600252", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73a3000000000000000000000000000000000000016020526000600060406020600073b000000000000000000000000000000000000001620186a0f260005260005160011460505760026001556056565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73a4000000000000000000000000000000000000016000526000600060206000600173b000000000000000000000000000000000000001620186a0f260005260005160011460505760026001556056565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x5000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73a500000000000000000000000000000000000001600052600060006020600073b000000000000000000000000000000000000001620186a0f4600052600051600114604e5760026001556054565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa100000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373b00000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a100000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa200000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373200000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a200000000000000000000000000000000000001146074576002600155607a565b60016001525b34600114608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa300000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373300000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a300000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa400000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373400000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a400000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa500000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373500000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073a500000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6000600060006000600035620186a0fa6000526000516001146024576002600155602a565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc350", + "0x051c98" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00", + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes4.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes4.json new file mode 100644 index 000000000..6bf17155f --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes4.json @@ -0,0 +1,236 @@ +{ + "static_CheckOpcodes4" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes4Filler.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xede69fda9c1c0dcf74adce8ec2d48751400109627a3108c774db431a3f180fd6", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x34e26cce39fd7feded32b452f89afd3f4d61a0f291a0afa08c415042efc495f5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x5d7b74ba57578008e50ef1260ecf0b21b054b8f77a0d602f1fff7a3a19a4484d", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x43f9fb389d635b799ceeb4177488ea6a0642018e6b9d9fb0d59c19ce5de333dc", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000731000000000000000000000000000000000000001620186a0fa6001556000600060006000731000000000000000000000000000000000000002620186a0fa60025533600355346004553260055530600655", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000014604b5760026001556051565b60016001525b30731000000000000000000000000000000000000001146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373100000000000000000000000000000000000000014604b5760026001556051565b60016001525b30731000000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0xc350", + "0x051c98" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00", + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stStaticCall/static_CheckOpcodes5.json b/GeneralStateTests/stStaticCall/static_CheckOpcodes5.json new file mode 100644 index 000000000..c419c10f8 --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_CheckOpcodes5.json @@ -0,0 +1,936 @@ +{ + "static_CheckOpcodes5" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.95c1cb82.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes5Filler.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x9c646b5060bcdbab2c436f7b21aac8cf5415e59914c2134d601801789302d55c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe4016f8d3afbae2a3d8731587a1340e91b655f9b724089b2e2eb9447e98baf3c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xeaf931cfd8d6e40d99fc388113a5c3ef478278ca988e726d0668e848b2d6b9d6", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x1475a42ef973065b77d9c0403359f4a0e8b5b985c86d55ae92c50d7aa6e8d661", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x9c646b5060bcdbab2c436f7b21aac8cf5415e59914c2134d601801789302d55c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe4016f8d3afbae2a3d8731587a1340e91b655f9b724089b2e2eb9447e98baf3c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xeaf931cfd8d6e40d99fc388113a5c3ef478278ca988e726d0668e848b2d6b9d6", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x1475a42ef973065b77d9c0403359f4a0e8b5b985c86d55ae92c50d7aa6e8d661", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xe689654d1cb1a63efebcb90fae5f2678410109439cc1d31a9b3902bedea12a1d", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xdcbf4edbf4bc40f89fcd8c442ca043d655d7112db8a10fb2b929b414ddebca10", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x9c646b5060bcdbab2c436f7b21aac8cf5415e59914c2134d601801789302d55c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe4016f8d3afbae2a3d8731587a1340e91b655f9b724089b2e2eb9447e98baf3c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xeaf931cfd8d6e40d99fc388113a5c3ef478278ca988e726d0668e848b2d6b9d6", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x1475a42ef973065b77d9c0403359f4a0e8b5b985c86d55ae92c50d7aa6e8d661", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x9c646b5060bcdbab2c436f7b21aac8cf5415e59914c2134d601801789302d55c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe4016f8d3afbae2a3d8731587a1340e91b655f9b724089b2e2eb9447e98baf3c", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xeaf931cfd8d6e40d99fc388113a5c3ef478278ca988e726d0668e848b2d6b9d6", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x1475a42ef973065b77d9c0403359f4a0e8b5b985c86d55ae92c50d7aa6e8d661", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xe689654d1cb1a63efebcb90fae5f2678410109439cc1d31a9b3902bedea12a1d", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xdcbf4edbf4bc40f89fcd8c442ca043d655d7112db8a10fb2b929b414ddebca10", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xdc8f401dad4c55f1660edb0b86809bc155ef984e16ff0f8c1c6cfe0ddcb03467", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x45f6ccc25e8baac0824dbab2da5ede361dbca3928b60c087c0edadc22e513f9b", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x5c0e88a38b3286d9b0ce51cce68041d63313a08f1886762ab1eb4a45a3e94726", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe7457f40d2bc050b29bf1feae895245afff8014bb52cd62dfe63d34daf59dffe", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xdc8f401dad4c55f1660edb0b86809bc155ef984e16ff0f8c1c6cfe0ddcb03467", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x45f6ccc25e8baac0824dbab2da5ede361dbca3928b60c087c0edadc22e513f9b", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x5c0e88a38b3286d9b0ce51cce68041d63313a08f1886762ab1eb4a45a3e94726", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe7457f40d2bc050b29bf1feae895245afff8014bb52cd62dfe63d34daf59dffe", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x3ddace1a0110e18df547d7e0307c1edf5341f8a2672666f2b38c793e4d40391c", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x56c18bc2e96157d1c70358756cca5af6d7ceb4110607cceb09f7a17618d1f56a", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xdc8f401dad4c55f1660edb0b86809bc155ef984e16ff0f8c1c6cfe0ddcb03467", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x45f6ccc25e8baac0824dbab2da5ede361dbca3928b60c087c0edadc22e513f9b", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x5c0e88a38b3286d9b0ce51cce68041d63313a08f1886762ab1eb4a45a3e94726", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe7457f40d2bc050b29bf1feae895245afff8014bb52cd62dfe63d34daf59dffe", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xdc8f401dad4c55f1660edb0b86809bc155ef984e16ff0f8c1c6cfe0ddcb03467", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x45f6ccc25e8baac0824dbab2da5ede361dbca3928b60c087c0edadc22e513f9b", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x5c0e88a38b3286d9b0ce51cce68041d63313a08f1886762ab1eb4a45a3e94726", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe7457f40d2bc050b29bf1feae895245afff8014bb52cd62dfe63d34daf59dffe", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x0e1b932422abe6197e7223bd1515f38fd261cbd652a805b6e3e3ef58b8c2673c", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xc05bceac43e4c570b099df4100aadcd785ad23830f991e511b255b4ccec3c4ee", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xccbd3a61a4667d331890e83cff0bee1a6e52669f4e9b3ddd328b48a88e5bf1b1", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x8b17df8bae7a96f970d507e1cf0b16564bf0997fd405cd2e49a873858f782a02", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x195a5dd18655d70f4e6ddd282336bf584f0351c2bbdb269d55dcf38fc2c81a18", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0x85e606aa5b0780447c4f8f92a576d9b3537f5caa2cb2291d4de999e5bd50268b", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x9e9066e75177c2dfb83d416cc21eef9c8f9d6ce7ef9808415f542c34b4f273c5", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xe666ccb6994ad4abd2ea0cfd35e78d04ee8a7c16d4ea4506820302559bbbb165", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0x6cdcfe844ce215e579cc2af346dc6fc5dcf9fa1a19a86a9a904796dea69f8ce7", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xed8f184856421fbcb148f50845a1fa0ced4a30da2c9d362dd8a2f625e774e194", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x8c7af12fde81dae2a5a9d519baa8fabbaa2eee11e18c03c013440aa6e347f489", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "0xb8d91ca2d7fd7660756721f94ad0d3dc4f2bcb73b507b598bdfcd06168c62db9", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "0xbf7625ffbac8653e9edb903721b0b1b5e2cea9d60dce41281201e5fb1b3a8ad1", + "indexes" : { + "data" : 4, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000356203d090f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x73b0000000000000000000000000000000000000026000526000600060206000600073a000000000000000000000000000000000000002620186a0f1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73b0000000000000000000000000000000000000026000526000600060206000600a73a000000000000000000000000000000000000002620186a0f1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73c3000000000000000000000000000000000000026000526000600060206000600073a000000000000000000000000000000000000002620186a0f2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73c4000000000000000000000000000000000000026000526000600060206000600173a000000000000000000000000000000000000002620186a0f2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x5000000000000000000000000000000000000001" : { + "balance" : "0x0a", + "code" : "0x73c500000000000000000000000000000000000002600052600060006020600073a000000000000000000000000000000000000002620186a0f4", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x600060006000600060003561c350fa600055", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373a00000000000000000000000000000000000000214604b5760026001556051565b60016001525b3073b000000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc300000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373300000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073c300000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc400000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373400000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073c400000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc500000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "0x3273a94f5374fce5edbc8e2a8697c15331677e6ebf0b1460225760026001556028565b60016001525b3373500000000000000000000000000000000000000114604b5760026001556051565b60016001525b3073c500000000000000000000000000000000000002146074576002600155607a565b60016001525b34600014608a5760026001556090565b60016001525b", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc350", + "0x051c98" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00", + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckCallCostOOGFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckCallCostOOGFiller.json new file mode 100644 index 000000000..8ae8b78b9 --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckCallCostOOGFiller.json @@ -0,0 +1,85 @@ +{ + "static_CheckCallCostOOG" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "21700" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "21733" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (STATICCALL 100 0x2000000000000000000000000000000000000000 0 0 0 0) }", + "storage": { + } + }, + "2000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (MSTORE 1 1) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "21700", "21800" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes2Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes2Filler.json new file mode 100644 index 000000000..9333d8eac --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes2Filler.json @@ -0,0 +1,164 @@ +{ + "static_CheckOpcodes2" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : [0, 2, 3, 4], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ [[1]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }", + "storage": { + } + }, + "1000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 (CALL 100000 0xa100000000000000000000000000000000000001 0 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "2000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{(MSTORE 0 0) (MSTORE 0 (CALL 100000 0xa200000000000000000000000000000000000001 1 0 0 0 0)) (MSTORE 1 1) (MSTORE 2 1) }", + "storage": { + } + }, + "3000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 (CALLCODE 100000 0xa300000000000000000000000000000000000001 0 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "4000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 (CALLCODE 100000 0xa400000000000000000000000000000000000001 1 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "5000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 (DELEGATECALL 100000 0xa500000000000000000000000000000000000001 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "a100000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa100000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a200000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x2000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa200000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 1 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a300000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x3000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x3000000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a400000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x4000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x4000000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 1 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a500000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000000 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x5000000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "10 - staticcall -> call -> check", + "20 - staticcall -> call with value (oogs here because call has value) -> check", + "30 - staticcall -> callcode -> check", + "40 - staticcall -> callcode with value -> check", + "50 - staticcall -> delegatecall -> check" + ], + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "50000", "335000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes3Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes3Filler.json new file mode 100644 index 000000000..18cbcd9b8 --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes3Filler.json @@ -0,0 +1,171 @@ +{ + "static_CheckOpcodes3" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : [0, 2, 3, 4], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ [[1]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }", + "storage": { + } + }, + "1000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xa100000000000000000000000000000000000001) (MSTORE 0 (CALL 100000 0xb000000000000000000000000000000000000001 0 0 32 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "2000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{(MSTORE 0 0xa100000000000000000000000000000000000001) (MSTORE 0 (CALL 100000 0xb000000000000000000000000000000000000001 1 0 32 0 0)) (MSTORE 1 1) (MSTORE 2 1) }", + "storage": { + } + }, + "3000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 32 0xa300000000000000000000000000000000000001) (MSTORE 0 (CALLCODE 100000 0xb000000000000000000000000000000000000001 0 32 64 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "4000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xa400000000000000000000000000000000000001) (MSTORE 0 (CALLCODE 100000 0xb000000000000000000000000000000000000001 1 0 32 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "5000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xa500000000000000000000000000000000000001) (MSTORE 0 (DELEGATECALL 100000 0xb000000000000000000000000000000000000001 0 32 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "b000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (MSTORE 0 (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0)) (if (= 1 (MLOAD 0)) (MSTORE 1 1) (SSTORE 1 2)) }", + "storage": { + } + }, + "a100000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xb000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa100000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a200000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x2000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa200000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 1 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a300000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x3000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa300000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a400000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x4000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa400000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "a500000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x5000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa500000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "10 - staticcall -> call -> check", + "20 - staticcall -> call with value (oogs here because call has value) -> check", + "30 - staticcall -> callcode -> check", + "40 - staticcall -> callcode with value -> check", + "50 - staticcall -> delegatecall -> check" + ], + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "50000", "335000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes4Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes4Filler.json new file mode 100644 index 000000000..8b1a19e06 --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes4Filler.json @@ -0,0 +1,110 @@ +{ + "static_CheckOpcodes4" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : 0 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x01", + "0x03" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x05" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x06" : "0x1000000000000000000000000000000000000000" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : 1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x01", + "0x03" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x04" : "0x64", + "0x05" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x06" : "0x1000000000000000000000000000000000000000" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ [[1]] (STATICCALL 100000 0x1000000000000000000000000000000000000001 0 0 0 0) [[2]] (STATICCALL 100000 0x1000000000000000000000000000000000000002 0 0 0 0) [[3]] (CALLER) [[4]] (CALLVALUE) [[5]] (ORIGIN) [[6]] (ADDRESS) }", + "storage": { + } + }, + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "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) ) }", + "storage": { + } + }, + "1000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000000 (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) ) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "0 - staticcall -> do smth | staticcall -> check | check " + ], + "data" : [ + "" + ], + "gasLimit" : [ + "50000", "335000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes5Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes5Filler.json new file mode 100644 index 000000000..56b58834a --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodes5Filler.json @@ -0,0 +1,200 @@ +{ + "static_CheckOpcodes5" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : [0,1], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : [2], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "3000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : [3], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "4000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : [4], + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "5000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ [[1]] (CALL 250000 (CALLDATALOAD 0) 0 0 0 0 0) }", + "storage": { + } + }, + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xb000000000000000000000000000000000000002) (CALL 100000 0xa000000000000000000000000000000000000002 0 0 32 0 0) }", + "storage": { + } + }, + "2000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xb000000000000000000000000000000000000002) (CALL 100000 0xa000000000000000000000000000000000000002 10 0 32 0 0) }", + "storage": { + } + }, + "3000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xc300000000000000000000000000000000000002) (CALLCODE 100000 0xa000000000000000000000000000000000000002 0 0 32 0 0) }", + "storage": { + } + }, + "4000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xc400000000000000000000000000000000000002) (CALLCODE 100000 0xa000000000000000000000000000000000000002 1 0 32 0 0) }", + "storage": { + } + }, + "5000000000000000000000000000000000000001" : { + "balance" : "10", + "nonce" : "0", + "code" : "{ (MSTORE 0 0xc500000000000000000000000000000000000002) (DELEGATECALL 100000 0xa000000000000000000000000000000000000002 0 32 0 0) }", + "storage": { + } + }, + "a000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ [[ 0 ]] (STATICCALL 50000 (CALLDATALOAD 0) 0 0 0 0) }", + "storage": { + } + }, + "b000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xa000000000000000000000000000000000000002 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xb000000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "c300000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x3000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xc300000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "c400000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x4000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xc400000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + }, + "c500000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x5000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0xc500000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "0 - call | callcode | delegatecall -> staticcall -> check " + ], + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000002000000000000000000000000000000000000001", + "0x0000000000000000000000003000000000000000000000000000000000000001", + "0x0000000000000000000000004000000000000000000000000000000000000001", + "0x0000000000000000000000005000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "50000", "335000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodesFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodesFiller.json new file mode 100644 index 000000000..af65804ec --- /dev/null +++ b/src/GeneralStateTestsFiller/stStaticCall/static_CheckOpcodesFiller.json @@ -0,0 +1,92 @@ +{ + "static_CheckOpcodes" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ [[1]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }", + "storage": { + } + }, + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "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) ) }", + "storage": { + } + }, + "1000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "check ORIGIN, CALLER, ADDRESS, CALLVALUE inside staticcall", + "code" : "{ (STATICCALL 100000 0x1000000000000000000000000000000000000003 0 0 0 0) }", + "storage": { + } + }, + "1000000000000000000000000000000000000003" : { + "balance" : "0", + "nonce" : "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) ) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "0 - staticcall -> check", + "1 - staticcall -> staticcall -> check" + ], + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000001", + "0x0000000000000000000000001000000000000000000000000000000000000002" + ], + "gasLimit" : [ + "50000", "335000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} |