diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-05-24 00:23:07 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-06-13 18:32:33 +0800 |
commit | 6bd7678daa65a852d172f35a1811ec0521e88ded (patch) | |
tree | 98b5f70911a845de85040dc287bffef7be9f59b9 /src/GeneralStateTestsFiller/stZeroKnowledge | |
parent | 46b4e025597a94d5ebb4a58af3bcfed0e42ae9c5 (diff) | |
download | tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar.gz tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar.bz2 tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar.lz tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar.xz tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.tar.zst tangerine-tests-6bd7678daa65a852d172f35a1811ec0521e88ded.zip |
Split filler files that contain two test cases
Diffstat (limited to 'src/GeneralStateTestsFiller/stZeroKnowledge')
12 files changed, 1720 insertions, 1708 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_128Filler.json index 63250897e..53cf05623 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_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": "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": "124", - "balance": "999999999994556062", - "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": "5443938", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f60000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xd378" - ], - "gasPrice": "0x1", - "nonce": "0x7c", - "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": "125", - "balance": "999999999994521029", - "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": "5478971", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_5617_21000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_5617_21000_128Filler.json index 692e0c471..43d6c9bb3 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_5617_21000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_5617_21000_128Filler.json @@ -280,287 +280,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495617 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 21000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_21888242871839275222246405745257275088548364400416034343698204186575808495617_21000_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": {}, - "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": "82", - "balance": "999999999996284658", - "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": "3715342", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f630644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001" - ], - "gasLimit": [ - "0xbf60" - ], - "gasPrice": "0x1", - "nonce": "0x52", - "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": {}, - "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": "83", - "balance": "999999999996235666", - "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": "3764334", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495617 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 21000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9935_21000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9935_21000_128Filler.json index 12624dc7a..7fb6d8d9d 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9935_21000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9935_21000_128Filler.json @@ -280,287 +280,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 115792089237316195423570985008687907853269984665640564039457584007913129639935 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 21000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_115792089237316195423570985008687907853269984665640564039457584007913129639935_21000_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": {}, - "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": "92", - "balance": "999999999995825202", - "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": "4174798", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" - ], - "gasLimit": [ - "0xbfe0" - ], - "gasPrice": "0x1", - "nonce": "0x5c", - "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": {}, - "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": "93", - "balance": "999999999995776082", - "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": "4223918", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 115792089237316195423570985008687907853269984665640564039457584007913129639935 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 21000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_128Filler.json index edb1b767f..627e7379e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_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": "110", - "balance": "999999999995151479", - "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": "4848521", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000401a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6" - ], - "gasLimit": [ - "0xd2b8" - ], - "gasPrice": "0x1", - "nonce": "0x6e", - "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": "111", - "balance": "999999999995116641", - "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": "4883359", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_0_28000_64Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_64Filler.json new file mode 100644 index 000000000..b2f5bbd09 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_0_28000_64Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_7827-6598_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": "110", + "balance": "999999999995151479", + "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": "4848521", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000401a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6" + ], + "gasLimit": [ + "0xd2b8" + ], + "gasPrice": "0x1", + "nonce": "0x6e", + "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": "111", + "balance": "999999999995116641", + "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": "4883359", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_1456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_128Filler.json new file mode 100644 index 000000000..084c47f91 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_7827-6598_1456_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": "157", + "balance": "999999999993271574", + "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": "6728426", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000801a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xd3f8" + ], + "gasPrice": "0x1", + "nonce": "0x9d", + "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": "158", + "balance": "999999999993236410", + "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": "6763590", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_1456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_96Filler.json index 56c121cf2..7f951333e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_96Filler.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 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_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": "157", - "balance": "999999999993271574", - "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": "6728426", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000801a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xd3f8" - ], - "gasPrice": "0x1", - "nonce": "0x9d", - "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": "158", - "balance": "999999999993236410", - "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": "6763590", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_96Filler.json new file mode 100644 index 000000000..69e181973 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_7827-6598_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": "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": "124", + "balance": "999999999994556062", + "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": "5443938", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f60000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xd378" + ], + "gasPrice": "0x1", + "nonce": "0x7c", + "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": "125", + "balance": "999999999994521029", + "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": "5478971", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_2_28000_128Filler.json new file mode 100644 index 000000000..70ef86298 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_2_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_7827-6598_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": "135", + "balance": "999999999994125254", + "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": "5874746", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000801a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xd3f8" + ], + "gasPrice": "0x1", + "nonce": "0x87", + "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": "136", + "balance": "999999999994090090", + "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": "5909910", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_2_28000_96Filler.json index 9fe30aa9b..d9829938e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_2_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_2_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_11999875504842010600789954262886096740416429265635183817701593963271973497827-11843594000332171325303933275547366297934113019079887694534126289021216356598_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": "135", - "balance": "999999999994125254", - "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": "5874746", - "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": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000801a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xd3f8" - ], - "gasPrice": "0x1", - "nonce": "0x87", - "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": "136", - "balance": "999999999994090090", - "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": "5909910", - "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) 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_7827-6598_5617_21000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_96Filler.json new file mode 100644 index 000000000..ad61f6d40 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_96Filler.json @@ -0,0 +1,284 @@ +{ + "ecmul_7827-6598_5617_21000_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": {}, + "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": "82", + "balance": "999999999996284658", + "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": "3715342", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f630644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001" + ], + "gasLimit": [ + "0xbf60" + ], + "gasPrice": "0x1", + "nonce": "0x52", + "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": {}, + "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": "83", + "balance": "999999999996235666", + "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": "3764334", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495617 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 21000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_9935_21000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_9935_21000_96Filler.json new file mode 100644 index 000000000..b8ffb32f3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_9935_21000_96Filler.json @@ -0,0 +1,284 @@ +{ + "ecmul_7827-6598_9935_21000_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": {}, + "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": "92", + "balance": "999999999995825202", + "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": "4174798", + "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": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + ], + "gasLimit": [ + "0xbfe0" + ], + "gasPrice": "0x1", + "nonce": "0x5c", + "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": {}, + "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": "93", + "balance": "999999999995776082", + "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": "4223918", + "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 (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 115792089237316195423570985008687907853269984665640564039457584007913129639935 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 21000 bytes" + } +} |