diff options
Diffstat (limited to 'GeneralStateTests')
3 files changed, 604 insertions, 0 deletions
diff --git a/GeneralStateTests/stCodeCopyTest/ExtCodeCopyTests.json b/GeneralStateTests/stCodeCopyTest/ExtCodeCopyTests.json new file mode 100644 index 000000000..9111b881f --- /dev/null +++ b/GeneralStateTests/stCodeCopyTest/ExtCodeCopyTests.json @@ -0,0 +1,127 @@ +{ + "ExtCodeCopyTests" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8d58cb33.Linux.g++", + "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCodeCopyTest/ExtCodeCopyTestsFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x28d138", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x596235dccd983df0484de50f8232cf753f7b75110cd6795600cda7056f67a801", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x596235dccd983df0484de50f8232cf753f7b75110cd6795600cda7056f67a801", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x596235dccd983df0484de50f8232cf753f7b75110cd6795600cda7056f67a801", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xfbc0fdd0992280e55856cdcd8f918633f93cb5b5d685b56663f5cc43ad7a3d57", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xfbc0fdd0992280e55856cdcd8f918633f93cb5b5d685b56663f5cc43ad7a3d57", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xffffffffffffffffffffffffffffffff", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1b58", + "code" : "0x6002600a600173bbbf5374fce5edbc8e2a8697c15331677e6ebf0b3c6000516002556002600a600173cccf5374fce5edbc8e2a8697c15331677e6ebf0b3c6000516003556002600a600173dddf5374fce5edbc8e2a8697c15331677e6ebf0b3c6000516004556002600a600173eeef5374fce5edbc8e2a8697c15331677e6ebf0b3c60005160055560c8600a600173eeef5374fce5edbc8e2a8697c15331677e6ebf0b3c600051600655", + "nonce" : "0x00", + "storage" : { + } + }, + "0xcccf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xeeef5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x1122334455667788991011121314151617181920212223242526272829303132", + "nonce" : "0x01", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertInStaticCall.json b/GeneralStateTests/stRevertTest/RevertInStaticCall.json new file mode 100644 index 000000000..c587caa9e --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertInStaticCall.json @@ -0,0 +1,113 @@ +{ + "RevertInStaticCall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.592cc7a9.Linux.clang", + "lllcversion" : "Version: 0.4.12-nightly.2016.12.1+commit.598e289a.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stRevertTest/RevertInStaticCallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xb7340c8561e89cd183ba09d1e01210960582ec1995beb0a5e32cc50f5e0c40cf", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xc990f22f80e6fea726300ce1149b34742c2aa799edea2aa977cb34ad4d669aee", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x03e8", + "code" : "0x604060006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350fa600055", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x00", + "code" : "0x60006000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x019a54" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalid.json b/GeneralStateTests/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalid.json new file mode 100644 index 000000000..f9fdf9cf3 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalid.json @@ -0,0 +1,364 @@ +{ + "ecpairing_one_point_with_g2_zero_and_g1_invalid" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8d58cb33.Linux.clang", + "lllcversion" : "Version: 0.4.12-nightly.2016.12.1+commit.598e289a.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x0f8bcc47f6b3be18e697e638bd566079ce2765604f6f3ead4f144a127c85bdd3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x138b0c698d1a2f1b7688373b8818e00db85be20509c425a0cafc323fea6df45c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbaa9e6da7cc1a4f8dacb89fd5f3481f60d902b8c9c36681ac5ee567093891c74", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x51fadda0ea1a5c5ff672f245b1c14e1390fb4a17d4a3c5bc4861817f86d9747f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x387441cc08f56a8f2eed4dc7d664ebddb46349b8a5d9b9463f2e9fd5e7d5b40e", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x0f8bcc47f6b3be18e697e638bd566079ce2765604f6f3ead4f144a127c85bdd3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x138b0c698d1a2f1b7688373b8818e00db85be20509c425a0cafc323fea6df45c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbaa9e6da7cc1a4f8dacb89fd5f3481f60d902b8c9c36681ac5ee567093891c74", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x51fadda0ea1a5c5ff672f245b1c14e1390fb4a17d4a3c5bc4861817f86d9747f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x0f8bcc47f6b3be18e697e638bd566079ce2765604f6f3ead4f144a127c85bdd3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x138b0c698d1a2f1b7688373b8818e00db85be20509c425a0cafc323fea6df45c", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbaa9e6da7cc1a4f8dacb89fd5f3481f60d902b8c9c36681ac5ee567093891c74", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x51fadda0ea1a5c5ff672f245b1c14e1390fb4a17d4a3c5bc4861817f86d9747f", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x598443f1880ef585b21f1d7585bd0577402861e5" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x77db2bebba79db42a978f896968f4afce746ea1f" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : { + "balance" : "0x0de0b6b3a754d9f4", + "code" : "", + "nonce" : "0x06", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576107806004356004013511151558576004356004013560200160043560040161014037602061092061014051610160600060086305f5e0fff11558576020610900526109006040806109608284600060046018f150505061096080516020820120905060005561096060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0x38c68", + "0x015f90", + "0x01adb0", + "0x030d40" + ], + "gasPrice" : "0x1", + "nonce" : "0x6", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file |