diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-06-23 01:09:23 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-06-23 01:09:23 +0800 |
commit | 306a240a38cf9595f972bcba23ac391b26fcb3ea (patch) | |
tree | 1b81176b8d8f146d54859289fd418ca5dde97624 | |
parent | abef4f507eadd485c893ceda2acabc84a93fc897 (diff) | |
download | tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.gz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.bz2 tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.lz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.xz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.zst tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.zip |
Split GeneralStateTestFiller files that contain multiple tests
82 files changed, 10938 insertions, 10649 deletions
diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_64.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_64.json index 0d4023fa1..bd7e8ad72 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_64.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_64.json @@ -1,5 +1,10 @@ { "ecmul_0-0_0_28000_64" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_0-0_0_28000_80" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x015ad17e559750ddfe76fc4d25642dab8df033dab11cbee5ff6f34ef01485582", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x015ad17e559750ddfe76fc4d25642dab8df033dab11cbee5ff6f34ef01485582", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x79e2d9227910c917afa8972ebfec55e8f625a77bb1ec21f7f99c798fd392ef86", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x79e2d9227910c917afa8972ebfec55e8f625a77bb1ec21f7f99c798fd392ef86", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xd03b580221a9bd6659acf2b71e2c8ff860a40f3eebd2f0d18a2668f0681e1b98", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x459c31", - "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" : "0x0de0b6b3a71e63cf", - "code" : "", - "nonce" : "0x65", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc378" - ], - "gasPrice" : "0x1", - "nonce" : "0x65", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_80.json new file mode 100644 index 000000000..9e1372a62 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_0_28000_80.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-0_0_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x015ad17e559750ddfe76fc4d25642dab8df033dab11cbee5ff6f34ef01485582", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x015ad17e559750ddfe76fc4d25642dab8df033dab11cbee5ff6f34ef01485582", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x79e2d9227910c917afa8972ebfec55e8f625a77bb1ec21f7f99c798fd392ef86", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x79e2d9227910c917afa8972ebfec55e8f625a77bb1ec21f7f99c798fd392ef86", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xd03b580221a9bd6659acf2b71e2c8ff860a40f3eebd2f0d18a2668f0681e1b98", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x459c31", + "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" : "0x0de0b6b3a71e63cf", + "code" : "", + "nonce" : "0x65", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc378" + ], + "gasPrice" : "0x1", + "nonce" : "0x65", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_128.json index 840f9fd20..569811475 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_128.json @@ -1,5 +1,10 @@ { "ecmul_0-0_1_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-2_1_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xe32334ddcc3851155fb8f17ec83e1af56f485e5d162199e4710735b69f76839a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xe32334ddcc3851155fb8f17ec83e1af56f485e5d162199e4710735b69f76839a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xbc8ca8698e1db40e7cc3c339d41fe78345037967f523d7a58fcfb874c121cd1e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xbc8ca8698e1db40e7cc3c339d41fe78345037967f523d7a58fcfb874c121cd1e", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x8fe318765ba492b247dc8f5b94e297bc98cd8dad9d7bd49fb0580672eb398bc2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x521dad", - "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" : "0x0de0b6b3a711e253", - "code" : "", - "nonce" : "0x7a", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x7a", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_96.json new file mode 100644 index 000000000..c6fbc868c --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_1_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-0_1_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xaf3fa8aed9afc6d2b7993a8d88aff96e436bc6354a38321bdccfc67a61c54e13", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xaf3fa8aed9afc6d2b7993a8d88aff96e436bc6354a38321bdccfc67a61c54e13", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x1f18298b83d3addbc52f9066ea300c8ad7d332e60335631e5e35652bd5979f67", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x1f18298b83d3addbc52f9066ea300c8ad7d332e60335631e5e35652bd5979f67", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xdec9499dcfbbe476962ba327a73ee48a0235f556b443034494e688e82579ce2f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x512af8", + "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" : "0x0de0b6b3a712d508", + "code" : "", + "nonce" : "0x78", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc3b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x78", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_128.json index 5e52b9529..c62b1e7e6 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_128.json @@ -1,5 +1,10 @@ { "ecmul_0-0_2_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-2_2_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xe22a6403bfca260f936b0fdc167f95061c1a6289faa8639effd040a3d9ff1328", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xe22a6403bfca260f936b0fdc167f95061c1a6289faa8639effd040a3d9ff1328", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x523309023ae81e572181c298a5034eaf0f1cde218e08bd8db27e165e56b341e4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x523309023ae81e572181c298a5034eaf0f1cde218e08bd8db27e165e56b341e4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x14f84a60308f4eeef0b326c2bfc8d1ad44f5b634c0889fcf1f18bfaf93e12d7d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5827ac", - "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" : "0x0de0b6b3a70bd854", - "code" : "", - "nonce" : "0x84", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x84", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_96.json new file mode 100644 index 000000000..8ddbc0550 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_2_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-0_2_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xaf6292885b91ccb830a2d52e4bef6e28597203590dea6922b732abd8bbcb12a3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xaf6292885b91ccb830a2d52e4bef6e28597203590dea6922b732abd8bbcb12a3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xc5a1b20126ac4605add4675a088bb102ec7202d39c8e0cb2a986dc24c263407f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xc5a1b20126ac4605add4675a088bb102ec7202d39c8e0cb2a986dc24c263407f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x7a6b40da1f0ee3693b1196b2101d34d3d0a3b6b310520461460632d5c2fdf388", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5734f7", + "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" : "0x0de0b6b3a70ccb09", + "code" : "", + "nonce" : "0x82", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit" : [ + "0xc3b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x82", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128.json new file mode 100644 index 000000000..8e1be037c --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-0_340282366920938463463374607431768211456_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x8a601f8671c2ffcfae5e426a45b419a40b5f6b33a617bfa7e60461432ef9657d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x8a601f8671c2ffcfae5e426a45b419a40b5f6b33a617bfa7e60461432ef9657d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x381438d09254ed53fc0e610ccf84c5879017bb57b2601424f429cdb09c446e47", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x381438d09254ed53fc0e610ccf84c5879017bb57b2601424f429cdb09c446e47", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x9a1c58c515c22f7238a8dd56fb9db32eb1dde508309f4f5b1ce3c32ad43be5c8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x63c20e", + "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" : "0x0de0b6b3a7003df2", + "code" : "", + "nonce" : "0x97", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x97", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80.json index a7a211bca..30cd1efd7 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80.json @@ -1,5 +1,10 @@ { "ecmul_0-0_340282366920938463463374607431768211456_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x723902bd58f94d97f55f4a267d3ebe09c89fd5d73c3db4ee70c58880f6a4469f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x723902bd58f94d97f55f4a267d3ebe09c89fd5d73c3db4ee70c58880f6a4469f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x7a3f44474821ca082177187fa5ae92fa5ded8f558d4b8f03f385a7070fce773c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x7a3f44474821ca082177187fa5ae92fa5ded8f558d4b8f03f385a7070fce773c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x58cca967684e31b2f30ea61a1af1e2666fe904e6c95ed1313d5af1ab74e1c908", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x64b4c3", - "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" : "0x0de0b6b3a6ff4b3d", - "code" : "", - "nonce" : "0x99", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x99", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96.json index dc3496a3a..c2c8e8bb6 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96.json @@ -1,226 +1,10 @@ { - "ecmul_0-0_340282366920938463463374607431768211456_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x8a601f8671c2ffcfae5e426a45b419a40b5f6b33a617bfa7e60461432ef9657d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x8a601f8671c2ffcfae5e426a45b419a40b5f6b33a617bfa7e60461432ef9657d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x381438d09254ed53fc0e610ccf84c5879017bb57b2601424f429cdb09c446e47", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x381438d09254ed53fc0e610ccf84c5879017bb57b2601424f429cdb09c446e47", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x9a1c58c515c22f7238a8dd56fb9db32eb1dde508309f4f5b1ce3c32ad43be5c8", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x63c20e", - "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" : "0x0de0b6b3a7003df2", - "code" : "", - "nonce" : "0x97", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x97", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-0_340282366920938463463374607431768211456_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-0_9_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_9_28000_96.json new file mode 100644 index 000000000..0b09681bd --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-0_9_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-0_9_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x0648f7df8736ed49c1d8a3f74475b45b6afc594d3cdd1b46f3616ff2d79a9581", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x0648f7df8736ed49c1d8a3f74475b45b6afc594d3cdd1b46f3616ff2d79a9581", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xb5a757ae482433a8e5a30990b3e07711f53adbe110910f55fa767ddebbe893c2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xb5a757ae482433a8e5a30990b3e07711f53adbe110910f55fa767ddebbe893c2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x0ff007739027bfe32f9e764696bc2dd5891a4ca759396549d979e7030bcddef1", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5d3ef6", + "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" : "0x0de0b6b3a706c10a", + "code" : "", + "nonce" : "0x8c", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" + ], + "gasLimit" : [ + "0xc3b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x8c", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_128.json index 25a5006c4..67e742d7a 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_128.json @@ -1,5 +1,10 @@ { "ecmul_0-3_0_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_0-3_0_28000_64" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xb053b62270d9ce22a95577bc92808172f9ca92e4168f444b63d32cd840c937dd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xb053b62270d9ce22a95577bc92808172f9ca92e4168f444b63d32cd840c937dd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x4fa408", - "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" : "0x0de0b6b3a7145bf8", - "code" : "", - "nonce" : "0x76", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" - ], - "gasLimit" : [ - "0xc338" - ], - "gasPrice" : "0x1", - "nonce" : "0x76", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_64.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_64.json new file mode 100644 index 000000000..ac13101b9 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_64.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_0_28000_64" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xb053b62270d9ce22a95577bc92808172f9ca92e4168f444b63d32cd840c937dd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xb053b62270d9ce22a95577bc92808172f9ca92e4168f444b63d32cd840c937dd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xd8fbae420a53f2dfbbbed4cd575ed759b47c502cdcee3f32576ed64d6ee92076", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x4fa408", + "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" : "0x0de0b6b3a7145bf8", + "code" : "", + "nonce" : "0x76", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" + ], + "gasLimit" : [ + "0xc338" + ], + "gasPrice" : "0x1", + "nonce" : "0x76", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_80.json index f092c2a03..03ba88159 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_80.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_80.json @@ -1,226 +1,10 @@ { - "ecmul_0-0_1_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xaf3fa8aed9afc6d2b7993a8d88aff96e436bc6354a38321bdccfc67a61c54e13", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xaf3fa8aed9afc6d2b7993a8d88aff96e436bc6354a38321bdccfc67a61c54e13", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x1f18298b83d3addbc52f9066ea300c8ad7d332e60335631e5e35652bd5979f67", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x1f18298b83d3addbc52f9066ea300c8ad7d332e60335631e5e35652bd5979f67", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xdec9499dcfbbe476962ba327a73ee48a0235f556b443034494e688e82579ce2f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x512af8", - "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" : "0x0de0b6b3a712d508", - "code" : "", - "nonce" : "0x78", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit" : [ - "0xc3b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x78", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-3_0_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_96.json new file mode 100644 index 000000000..3cfe91e0d --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_0_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_0_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x10fc4fc5d320a4667b76c689705dc0a8bc5dc9a9a7a6cb7475c6eb5289fb73ad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x10fc4fc5d320a4667b76c689705dc0a8bc5dc9a9a7a6cb7475c6eb5289fb73ad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x4e1c18", + "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" : "0x0de0b6b3a715e3e8", + "code" : "", + "nonce" : "0x74", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc3b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x74", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_128.json index eb28d3ce9..9b68d898d 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_128.json @@ -1,226 +1,10 @@ { - "ecmul_0-0_2_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xaf6292885b91ccb830a2d52e4bef6e28597203590dea6922b732abd8bbcb12a3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xaf6292885b91ccb830a2d52e4bef6e28597203590dea6922b732abd8bbcb12a3", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xc5a1b20126ac4605add4675a088bb102ec7202d39c8e0cb2a986dc24c263407f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xc5a1b20126ac4605add4675a088bb102ec7202d39c8e0cb2a986dc24c263407f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x7a6b40da1f0ee3693b1196b2101d34d3d0a3b6b310520461460632d5c2fdf388", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5734f7", - "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" : "0x0de0b6b3a70ccb09", - "code" : "", - "nonce" : "0x82", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit" : [ - "0xc3b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x82", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-3_1_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_96.json new file mode 100644 index 000000000..7ec5c4e62 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_1_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_1_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x03f75b42f83210e685d73d30443853626d413f9944a533f4bfc90f0214d4c27c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x03f75b42f83210e685d73d30443853626d413f9944a533f4bfc90f0214d4c27c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x55ac87", + "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" : "0x0de0b6b3a70e5379", + "code" : "", + "nonce" : "0x80", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc3f8" + ], + "gasPrice" : "0x1", + "nonce" : "0x80", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_128.json new file mode 100644 index 000000000..84aab68ec --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_2_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xf2fc6545652aa85582fd9bef08f4cd714ff80b79e0fcaa8b66b97fae1c9e2f1a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xf2fc6545652aa85582fd9bef08f4cd714ff80b79e0fcaa8b66b97fae1c9e2f1a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5c7a7e", + "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" : "0x0de0b6b3a7078582", + "code" : "", + "nonce" : "0x8b", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc478" + ], + "gasPrice" : "0x1", + "nonce" : "0x8b", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_96.json index 985c4fd77..f95abc930 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_2_28000_96.json @@ -1,447 +1,10 @@ { - "ecmul_0-0_9_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x0648f7df8736ed49c1d8a3f74475b45b6afc594d3cdd1b46f3616ff2d79a9581", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x0648f7df8736ed49c1d8a3f74475b45b6afc594d3cdd1b46f3616ff2d79a9581", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xb5a757ae482433a8e5a30990b3e07711f53adbe110910f55fa767ddebbe893c2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xb5a757ae482433a8e5a30990b3e07711f53adbe110910f55fa767ddebbe893c2", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x0ff007739027bfe32f9e764696bc2dd5891a4ca759396549d979e7030bcddef1", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5d3ef6", - "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" : "0x0de0b6b3a706c10a", - "code" : "", - "nonce" : "0x8c", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" - ], - "gasLimit" : [ - "0xc3b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x8c", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, - "ecmul_0-3_2_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xf2fc6545652aa85582fd9bef08f4cd714ff80b79e0fcaa8b66b97fae1c9e2f1a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xf2fc6545652aa85582fd9bef08f4cd714ff80b79e0fcaa8b66b97fae1c9e2f1a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x27b74715633db195e34fb52353f1a3f9be908ec01b7b580d3e3d25109d72715f", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5c7a7e", - "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" : "0x0de0b6b3a7078582", - "code" : "", - "nonce" : "0x8b", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc478" - ], - "gasPrice" : "0x1", - "nonce" : "0x8b", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-3_2_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128.json new file mode 100644 index 000000000..1c7fd1cd6 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_340282366920938463463374607431768211456_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xecb997a80061c472143ab8a27d248dd98d1eb64450095248e11146ab9e1b122c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xecb997a80061c472143ab8a27d248dd98d1eb64450095248e11146ab9e1b122c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x6ace3f", + "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" : "0x0de0b6b3a6f931c1", + "code" : "", + "nonce" : "0xa3", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc478" + ], + "gasPrice" : "0x1", + "nonce" : "0xa3", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96.json index 1bdba97c8..b5f2733ff 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96.json @@ -1,226 +1,10 @@ { - "ecmul_0-3_340282366920938463463374607431768211456_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xecb997a80061c472143ab8a27d248dd98d1eb64450095248e11146ab9e1b122c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xecb997a80061c472143ab8a27d248dd98d1eb64450095248e11146ab9e1b122c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x8ff54040a19f55a2e2dc998b38110271a6b61c5ad8e68307cef2ffee0eca5368", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x6ace3f", - "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" : "0x0de0b6b3a6f931c1", - "code" : "", - "nonce" : "0xa3", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc478" - ], - "gasPrice" : "0x1", - "nonce" : "0xa3", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-3_340282366920938463463374607431768211456_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_128.json new file mode 100644 index 000000000..d18b6472e --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_0-3_9_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xc5e97f804aa0708ba41565db74714800306141bc76420b833b132f1e348a856d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xc5e97f804aa0708ba41565db74714800306141bc76420b833b132f1e348a856d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x62847d", + "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" : "0x0de0b6b3a7017b83", + "code" : "", + "nonce" : "0x95", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc478" + ], + "gasPrice" : "0x1", + "nonce" : "0x95", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_96.json index dd392bb1a..aa98c8fed 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_0-3_9_28000_96.json @@ -1,226 +1,10 @@ { - "ecmul_0-3_9_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xc5e97f804aa0708ba41565db74714800306141bc76420b833b132f1e348a856d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xc5e97f804aa0708ba41565db74714800306141bc76420b833b132f1e348a856d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x7ca8fc2d2040fde8de04ef20decd50a2a66f8e9cc66a3d08ef2d8cf87b31203a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x62847d", - "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" : "0x0de0b6b3a7017b83", - "code" : "", - "nonce" : "0x95", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc478" - ], - "gasPrice" : "0x1", - "nonce" : "0x95", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_0-3_9_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_96.json new file mode 100644 index 000000000..58bf7dc90 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_1_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-2_1_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xe32334ddcc3851155fb8f17ec83e1af56f485e5d162199e4710735b69f76839a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xe32334ddcc3851155fb8f17ec83e1af56f485e5d162199e4710735b69f76839a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xbc8ca8698e1db40e7cc3c339d41fe78345037967f523d7a58fcfb874c121cd1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xbc8ca8698e1db40e7cc3c339d41fe78345037967f523d7a58fcfb874c121cd1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x8fe318765ba492b247dc8f5b94e297bc98cd8dad9d7bd49fb0580672eb398bc2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x521dad", + "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" : "0x0de0b6b3a711e253", + "code" : "", + "nonce" : "0x7a", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x7a", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_2_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_2_28000_96.json new file mode 100644 index 000000000..6ee60634d --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_2_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-2_2_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xe22a6403bfca260f936b0fdc167f95061c1a6289faa8639effd040a3d9ff1328", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xe22a6403bfca260f936b0fdc167f95061c1a6289faa8639effd040a3d9ff1328", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x523309023ae81e572181c298a5034eaf0f1cde218e08bd8db27e165e56b341e4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x523309023ae81e572181c298a5034eaf0f1cde218e08bd8db27e165e56b341e4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x14f84a60308f4eeef0b326c2bfc8d1ad44f5b634c0889fcf1f18bfaf93e12d7d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5827ac", + "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" : "0x0de0b6b3a70bd854", + "code" : "", + "nonce" : "0x84", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x84", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128.json index 1b1298e6e..2e20deeeb 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128.json @@ -1,5 +1,10 @@ { "ecmul_1-2_340282366920938463463374607431768211456_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_80" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x5b32a248064b345f26be71e2bd1a9eec9076db475001978a6ae8f50eee49877c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x5b32a248064b345f26be71e2bd1a9eec9076db475001978a6ae8f50eee49877c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xf90806005751b660d661a065d82f62095a60bff8f60748a013ae09698bd35e04", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xf90806005751b660d661a065d82f62095a60bff8f60748a013ae09698bd35e04", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x6b50a567f3d446444fc4e7381777d5b4c2c7c7bb5828ba3214ac6a10bbc42464", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x65a878", - "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" : "0x0de0b6b3a6fe5788", - "code" : "", - "nonce" : "0x9b", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x9b", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80.json new file mode 100644 index 000000000..175c1fd0a --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x5b32a248064b345f26be71e2bd1a9eec9076db475001978a6ae8f50eee49877c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x5b32a248064b345f26be71e2bd1a9eec9076db475001978a6ae8f50eee49877c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xf90806005751b660d661a065d82f62095a60bff8f60748a013ae09698bd35e04", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xf90806005751b660d661a065d82f62095a60bff8f60748a013ae09698bd35e04", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x6b50a567f3d446444fc4e7381777d5b4c2c7c7bb5828ba3214ac6a10bbc42464", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x65a878", + "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" : "0x0de0b6b3a6fe5788", + "code" : "", + "nonce" : "0x9b", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x9b", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96.json new file mode 100644 index 000000000..a51858870 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x723902bd58f94d97f55f4a267d3ebe09c89fd5d73c3db4ee70c58880f6a4469f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x723902bd58f94d97f55f4a267d3ebe09c89fd5d73c3db4ee70c58880f6a4469f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x7a3f44474821ca082177187fa5ae92fa5ded8f558d4b8f03f385a7070fce773c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x7a3f44474821ca082177187fa5ae92fa5ded8f558d4b8f03f385a7070fce773c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x58cca967684e31b2f30ea61a1af1e2666fe904e6c95ed1313d5af1ab74e1c908", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x64b4c3", + "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" : "0x0de0b6b3a6ff4b3d", + "code" : "", + "nonce" : "0x99", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x99", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_128.json new file mode 100644 index 000000000..6bc5c81d7 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-2_9_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x9995a138c0bbba1d517eed14d37792a9a7bb1c2e4ce2f468abbec5c2f7371fad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x9995a138c0bbba1d517eed14d37792a9a7bb1c2e4ce2f468abbec5c2f7371fad", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x4829227c9c407e31ee67961599854e13f292e999aaaf2c2d36bc635f3b263b0d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x4829227c9c407e31ee67961599854e13f292e999aaaf2c2d36bc635f3b263b0d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xc64f5de3fc4e505e297912bb5efebb28386dc8ca420b20ae28009b0816026c8a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5eab44", + "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" : "0x0de0b6b3a70554bc", + "code" : "", + "nonce" : "0x8f", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc4b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x8f", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_96.json index e55f1fcad..47465f1cd 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-2_9_28000_96.json @@ -1,226 +1,10 @@ { - "ecmul_1-2_9_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x9995a138c0bbba1d517eed14d37792a9a7bb1c2e4ce2f468abbec5c2f7371fad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x9995a138c0bbba1d517eed14d37792a9a7bb1c2e4ce2f468abbec5c2f7371fad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x4829227c9c407e31ee67961599854e13f292e999aaaf2c2d36bc635f3b263b0d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x4829227c9c407e31ee67961599854e13f292e999aaaf2c2d36bc635f3b263b0d", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xc64f5de3fc4e505e297912bb5efebb28386dc8ca420b20ae28009b0816026c8a", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5eab44", - "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" : "0x0de0b6b3a70554bc", - "code" : "", - "nonce" : "0x8f", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc4b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x8f", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_1-2_9_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_128.json new file mode 100644 index 000000000..71cf2f035 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-3_0_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x231849265497411fd7670cd00d7d34f41608b34647d6acde30198c7ea469454b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x231849265497411fd7670cd00d7d34f41608b34647d6acde30198c7ea469454b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x4bd030", + "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" : "0x0de0b6b3a7182fd0", + "code" : "", + "nonce" : "0x71", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc478" + ], + "gasPrice" : "0x1", + "nonce" : "0x71", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_80.json index de8b9b447..58d9bb1c5 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_80.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_80.json @@ -1,226 +1,10 @@ { - "ecmul_0-3_0_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x10fc4fc5d320a4667b76c689705dc0a8bc5dc9a9a7a6cb7475c6eb5289fb73ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x10fc4fc5d320a4667b76c689705dc0a8bc5dc9a9a7a6cb7475c6eb5289fb73ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xe2db91df9cb31867103ee187f8aa95dce624c1806c61225e4ae83445931a70d0", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x4e1c18", - "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" : "0x0de0b6b3a715e3e8", - "code" : "", - "nonce" : "0x74", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc3b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x74", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_1-3_0_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_96.json index b6c641672..cca58abd3 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_0_28000_96.json @@ -1,5 +1,10 @@ { - "cmul_1-3_0_28000_96" : { + "ecmul_1-3_0_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-3_0_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x231849265497411fd7670cd00d7d34f41608b34647d6acde30198c7ea469454b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x231849265497411fd7670cd00d7d34f41608b34647d6acde30198c7ea469454b", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x7a7d1ea09e1624a849f2b71b659cfb43063107a93b0f93ed013c09324a5601fe", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x4bd030", - "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" : "0x0de0b6b3a7182fd0", - "code" : "", - "nonce" : "0x71", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc478" - ], - "gasPrice" : "0x1", - "nonce" : "0x71", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_128.json index 14e023ef9..763ec1b7d 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_128.json @@ -1,226 +1,10 @@ { - "ecmul_0-3_1_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x03f75b42f83210e685d73d30443853626d413f9944a533f4bfc90f0214d4c27c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x03f75b42f83210e685d73d30443853626d413f9944a533f4bfc90f0214d4c27c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x5e7f2343f4e1547017cd11e29eaf203d111e2351dcb1fc82c73b5f766ec781e7", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x55ac87", - "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" : "0x0de0b6b3a70e5379", - "code" : "", - "nonce" : "0x80", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit" : [ - "0xc3f8" - ], - "gasPrice" : "0x1", - "nonce" : "0x80", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_1-3_1_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_96.json new file mode 100644 index 000000000..082c60f4a --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_1_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-3_1_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xe160fa9f61c248d22489c343f3a35b08d3345d93026ddad99198d0738b1afd84", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xe160fa9f61c248d22489c343f3a35b08d3345d93026ddad99198d0738b1afd84", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x542397", + "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" : "0x0de0b6b3a70fdc69", + "code" : "", + "nonce" : "0x7e", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x7e", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_128.json new file mode 100644 index 000000000..014c427a6 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_128.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-3_2_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0x793ec9b73137303849afe9942e495a6540c013b0e6ee4ffce8fd3ea7938313c4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x793ec9b73137303849afe9942e495a6540c013b0e6ee4ffce8fd3ea7938313c4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x5af1ce", + "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" : "0x0de0b6b3a7090e32", + "code" : "", + "nonce" : "0x89", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc4b8" + ], + "gasPrice" : "0x1", + "nonce" : "0x89", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_96.json index c02e3b3f8..4a386e1a7 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_96.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_2_28000_96.json @@ -1,226 +1,10 @@ { - "ecmul_1-3_2_28000_128" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0x793ec9b73137303849afe9942e495a6540c013b0e6ee4ffce8fd3ea7938313c4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x793ec9b73137303849afe9942e495a6540c013b0e6ee4ffce8fd3ea7938313c4", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0xcfe0113def4f21891ae29424f08fceaf24b19162f2ee3388da99cca8072cea44", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x5af1ce", - "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" : "0x0de0b6b3a7090e32", - "code" : "", - "nonce" : "0x89", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc4b8" - ], - "gasPrice" : "0x1", - "nonce" : "0x89", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_1-3_2_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128.json index 7bfe96e52..63f1998fe 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128.json @@ -1,5 +1,10 @@ { "ecmul_1-3_340282366920938463463374607431768211456_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", @@ -219,226 +224,5 @@ "0x" ] } - }, - "ecmul_1-3_340282366920938463463374607431768211456_28000_80" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xc7a7f903058936f875f6a84213073becb9c1c9e13cc07e4a0c7db612c4ebe281", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xc7a7f903058936f875f6a84213073becb9c1c9e13cc07e4a0c7db612c4ebe281", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x69460f", - "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" : "0x0de0b6b3a6fab9f1", - "code" : "", - "nonce" : "0xa1", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0xa1", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } } }
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80.json new file mode 100644 index 000000000..80cbc58fe --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xc7a7f903058936f875f6a84213073becb9c1c9e13cc07e4a0c7db612c4ebe281", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xc7a7f903058936f875f6a84213073becb9c1c9e13cc07e4a0c7db612c4ebe281", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x3225fdf9489d81413994af3338229e97b2543a1146187ce53a79a11a1a5fca8c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x69460f", + "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" : "0x0de0b6b3a6fab9f1", + "code" : "", + "nonce" : "0xa1", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0xa1", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96.json b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96.json new file mode 100644 index 000000000..50cd17768 --- /dev/null +++ b/GeneralStateTests/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96.json @@ -0,0 +1,228 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_96" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json" + }, + "env" : { + "currentCoinbase" : "0x3535353535353535353535353535353535353535", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x5f5e100", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "explanation" : "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", + "post" : { + "EIP150" : [ + { + "hash" : "0xfd63b47ebc5a0ad535f3dc14bdcdae5257d89f4b0a2d7bd943e701f03bfffcab", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0xfd63b47ebc5a0ad535f3dc14bdcdae5257d89f4b0a2d7bd943e701f03bfffcab", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x0000000000000000000000000000000000000000" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "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" : { + } + }, + "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3535353535353535353535353535353535353535" : { + "balance" : "0x67bd1f", + "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" : "0x0de0b6b3a6fc42e1", + "code" : "", + "nonce" : "0x9f", + "storage" : { + } + }, + "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc305c901078781c232a2a521c2af7980f8385ee9" : { + "balance" : "0x00", + "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + } + }, + "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit" : [ + "0xc438" + ], + "gasPrice" : "0x1", + "nonce" : "0x9f", + "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value" : [ + "0x" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1456_28000_80.json b/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1456_28000_80.json index 6cd0a3c02..bf208039e 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1456_28000_80.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1456_28000_80.json @@ -1,226 +1,10 @@ { - "ecmul_1-3_340282366920938463463374607431768211456_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xfd63b47ebc5a0ad535f3dc14bdcdae5257d89f4b0a2d7bd943e701f03bfffcab", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xfd63b47ebc5a0ad535f3dc14bdcdae5257d89f4b0a2d7bd943e701f03bfffcab", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x62007976267c85a3dee527e4ede8226915ef38a9aae91c8dd7848802a2ed5f92", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x67bd1f", - "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" : "0x0de0b6b3a6fc42e1", - "code" : "", - "nonce" : "0x9f", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x9f", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_7827-6598_1456_28000_80" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1_28000_128.json b/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1_28000_128.json index 650032e67..d08fa86fa 100644 --- a/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1_28000_128.json +++ b/GeneralStateTests/stZeroKnowledge/ecmul_7827-6598_1_28000_128.json @@ -1,226 +1,10 @@ { - "ecmul_1-3_1_28000_96" : { - "env" : { - "currentCoinbase" : "0x3535353535353535353535353535353535353535", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x5f5e100", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "explanation" : "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes", - "post" : { - "EIP150" : [ - { - "hash" : "0xe160fa9f61c248d22489c343f3a35b08d3345d93026ddad99198d0738b1afd84", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0xe160fa9f61c248d22489c343f3a35b08d3345d93026ddad99198d0738b1afd84", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Frontier" : [ - { - "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ], - "Metropolis" : [ - { - "hash" : "0x5fd360ee797389f94d1f88997688dc2e58c68f52f1e5423ccb6c17cd2d96bb95", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - } - ] - }, - "pre" : { - "0x0000000000000000000000000000000000000000" : { - "balance" : "0x01", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "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" : { - } - }, - "0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x3535353535353535353535353535353535353535" : { - "balance" : "0x542397", - "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" : "0x0de0b6b3a70fdc69", - "code" : "", - "nonce" : "0x7e", - "storage" : { - } - }, - "0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xc305c901078781c232a2a521c2af7980f8385ee9" : { - "balance" : "0x00", - "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b", - "nonce" : "0x01", - "storage" : { - "0x00" : "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - } - }, - "0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit" : [ - "0xc438" - ], - "gasPrice" : "0x1", - "nonce" : "0x7e", - "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value" : [ - "0x" - ] - } - }, "ecmul_7827-6598_1_28000_128" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.8df9ba7d.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json" + }, "env" : { "currentCoinbase" : "0x3535353535353535353535353535353535353535", "currentDifficulty" : "0x020000", diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json index 6a1407a0f..e2db6d2ad 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_0_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "101", - "balance": "999999999995438031", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4561969", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc378" - ], - "gasPrice": "0x1", - "nonce": "0x65", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "102", - "balance": "999999999995407094", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4592906", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json new file mode 100644 index 000000000..6222a8c3e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_0_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "101", + "balance": "999999999995438031", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4561969", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc378" + ], + "gasPrice": "0x1", + "nonce": "0x65", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "102", + "balance": "999999999995407094", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4592906", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json index 908587266..1ca5bed7a 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "122", - "balance": "999999999994618451", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5381549", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x7a", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "123", - "balance": "999999999994587322", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5412678", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json new file mode 100644 index 000000000..192c58d08 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "120", + "balance": "999999999994680584", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5319416", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x78", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "121", + "balance": "999999999994649583", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5350417", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json index 13780bc4a..bb2d941e4 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_2_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "132", - "balance": "999999999994222676", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5777324", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x84", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x8a5045bc7a493061be89fdbc32ea8ae69e8d8b55ebe445fa41fa534b1543ab50" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "133", - "balance": "999999999994191547", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5808453", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json new file mode 100644 index 000000000..151fc4b81 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_2_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "130", + "balance": "999999999994284809", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5715191", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x82", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "131", + "balance": "999999999994253808", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5746192", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json new file mode 100644 index 000000000..d451811bd --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_340282366920938463463374607431768211456_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "151", + "balance": "999999999993462258", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6537742", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x97", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "152", + "balance": "999999999993431126", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6568874", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json index a65a2d851..cf5b9a574 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "153", - "balance": "999999999993400125", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6599875", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x99", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "154", - "balance": "999999999993368996", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6631004", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json index 0b9588f03..8f8c4eb5d 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_340282366920938463463374607431768211456_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "151", - "balance": "999999999993462258", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6537742", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x97", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "152", - "balance": "999999999993431126", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6568874", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json new file mode 100644 index 000000000..936c754c4 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_9_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "140", + "balance": "999999999993889034", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6110966", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x8c", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "141", + "balance": "999999999993858033", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6141967", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json index dc31fde27..0fbf09fa2 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_0_28000_64": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "118", - "balance": "999999999994780664", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5219336", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" - ], - "gasLimit": [ - "0xc338" - ], - "gasPrice": "0x1", - "nonce": "0x76", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "119", - "balance": "999999999994730688", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5269312", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json new file mode 100644 index 000000000..cb83526ea --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_0_28000_64": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "118", + "balance": "999999999994780664", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5219336", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" + ], + "gasLimit": [ + "0xc338" + ], + "gasPrice": "0x1", + "nonce": "0x76", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "119", + "balance": "999999999994730688", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5269312", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json index 017f4407f..d99d43df4 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "120", - "balance": "999999999994680584", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5319416", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x78", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "121", - "balance": "999999999994649583", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5350417", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json new file mode 100644 index 000000000..dcace45f5 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_0_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "116", + "balance": "999999999994881000", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5119000", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x74", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "117", + "balance": "999999999994830896", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5169104", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json index a6a28e666..de6be2614 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_2_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "130", - "balance": "999999999994284809", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5715191", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x82", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "131", - "balance": "999999999994253808", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5746192", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json new file mode 100644 index 000000000..74ea74793 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "128", + "balance": "999999999994385273", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5614727", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc3f8" + ], + "gasPrice": "0x1", + "nonce": "0x80", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "129", + "balance": "999999999994335105", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5664895", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json new file mode 100644 index 000000000..6390eff19 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_2_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "139", + "balance": "999999999993939330", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6060670", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x8b", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "140", + "balance": "999999999993889034", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6110966", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json index 32eb0a84f..2b68058cf 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json @@ -284,577 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_2_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "139", - "balance": "999999999993939330", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6060670", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x8b", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "140", - "balance": "999999999993889034", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6110966", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_9_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "140", - "balance": "999999999993889034", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6110966", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x8c", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "141", - "balance": "999999999993858033", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6141967", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json new file mode 100644 index 000000000..4ecec7bfa --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_340282366920938463463374607431768211456_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "163", + "balance": "999999999993000385", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6999615", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0xa3", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "164", + "balance": "999999999992950089", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "7049911", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json index eec3a3f70..eaed9c524 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_340282366920938463463374607431768211456_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "163", - "balance": "999999999993000385", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6999615", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0xa3", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "164", - "balance": "999999999992950089", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "7049911", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json new file mode 100644 index 000000000..2ba12e443 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_9_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "149", + "balance": "999999999993543555", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6456445", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x95", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "150", + "balance": "999999999993493259", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6506741", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json index b85ecb363..fb4167588 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_9_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "149", - "balance": "999999999993543555", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6456445", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x95", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "150", - "balance": "999999999993493259", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6506741", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json new file mode 100644 index 000000000..7d6c6f2be --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "122", + "balance": "999999999994618451", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5381549", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x7a", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "123", + "balance": "999999999994587322", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5412678", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json new file mode 100644 index 000000000..c7276999b --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_2_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "132", + "balance": "999999999994222676", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5777324", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x84", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x8a5045bc7a493061be89fdbc32ea8ae69e8d8b55ebe445fa41fa534b1543ab50" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "133", + "balance": "999999999994191547", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5808453", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json index 04740e4bc..f492db84b 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "155", - "balance": "999999999993337736", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6662264", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x9b", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "156", - "balance": "999999999993306607", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6693393", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json new file mode 100644 index 000000000..ea90079b2 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "155", + "balance": "999999999993337736", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6662264", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x9b", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "156", + "balance": "999999999993306607", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6693393", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json new file mode 100644 index 000000000..7cb4e88cc --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "153", + "balance": "999999999993400125", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6599875", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x99", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "154", + "balance": "999999999993368996", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6631004", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json new file mode 100644 index 000000000..1eeff4d1e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_9_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "143", + "balance": "999999999993795772", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6204228", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc4b8" + ], + "gasPrice": "0x1", + "nonce": "0x8f", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "144", + "balance": "999999999993764512", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6235488", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json index ac3d84d19..7901a75d7 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_9_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "143", - "balance": "999999999993795772", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6204228", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc4b8" - ], - "gasPrice": "0x1", - "nonce": "0x8f", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "144", - "balance": "999999999993764512", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6235488", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json new file mode 100644 index 000000000..4253cf60e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_0_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "113", + "balance": "999999999995031504", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4968496", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x71", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "114", + "balance": "999999999994981208", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5018792", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json index 87f54083d..ac193ca7e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_0_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "116", - "balance": "999999999994881000", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5119000", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x74", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "117", - "balance": "999999999994830896", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5169104", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json index dc666e821..aee0bdf70 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json @@ -1,5 +1,5 @@ { - "cmul_1-3_0_28000_96": { + "ecmul_1-3_0_28000_96": { "env": { "currentCoinbase": "0x3535353535353535353535353535353535353535", "currentDifficulty": "0x020000", @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_0_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "113", - "balance": "999999999995031504", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4968496", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x71", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "114", - "balance": "999999999994981208", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5018792", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json index 2dccf16c1..cc951800e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "128", - "balance": "999999999994385273", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5614727", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc3f8" - ], - "gasPrice": "0x1", - "nonce": "0x80", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "129", - "balance": "999999999994335105", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5664895", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json new file mode 100644 index 000000000..c6d8905b3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "126", + "balance": "999999999994485865", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5514135", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x7e", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "127", + "balance": "999999999994435633", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5564367", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json new file mode 100644 index 000000000..0f5b957f9 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_2_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "137", + "balance": "999999999994039858", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5960142", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc4b8" + ], + "gasPrice": "0x1", + "nonce": "0x89", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "138", + "balance": "999999999993989498", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6010502", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json index 9f1a023e7..4443808d1 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_2_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "137", - "balance": "999999999994039858", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5960142", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc4b8" - ], - "gasPrice": "0x1", - "nonce": "0x89", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "138", - "balance": "999999999993989498", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6010502", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json index 61a5d83a3..f13673c38 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_340282366920938463463374607431768211456_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "161", - "balance": "999999999993100785", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6899215", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0xa1", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "162", - "balance": "999999999993050553", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6949447", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json new file mode 100644 index 000000000..8e730a41c --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "161", + "balance": "999999999993100785", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6899215", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0xa1", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "162", + "balance": "999999999993050553", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6949447", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json new file mode 100644 index 000000000..c5da1f823 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "159", + "balance": "999999999993201377", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6798623", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x9f", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "160", + "balance": "999999999993151145", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6848855", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json index 0b986c436..982cd1b18 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_340282366920938463463374607431768211456_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "159", - "balance": "999999999993201377", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6798623", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x9f", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "160", - "balance": "999999999993151145", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6848855", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json index 15eb9ad13..4f529207a 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "126", - "balance": "999999999994485865", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5514135", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x7e", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "127", - "balance": "999999999994435633", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5564367", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } |