diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-06-23 01:09:23 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-06-23 01:09:23 +0800 |
commit | 306a240a38cf9595f972bcba23ac391b26fcb3ea (patch) | |
tree | 1b81176b8d8f146d54859289fd418ca5dde97624 /src/GeneralStateTestsFiller/stZeroKnowledge | |
parent | abef4f507eadd485c893ceda2acabc84a93fc897 (diff) | |
download | tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.gz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.bz2 tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.lz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.xz tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.tar.zst tangerine-tests-306a240a38cf9595f972bcba23ac391b26fcb3ea.zip |
Split GeneralStateTestFiller files that contain multiple tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stZeroKnowledge')
41 files changed, 6049 insertions, 6007 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json index 6a1407a0f..e2db6d2ad 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_64Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_0_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "101", - "balance": "999999999995438031", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4561969", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc378" - ], - "gasPrice": "0x1", - "nonce": "0x65", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "102", - "balance": "999999999995407094", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4592906", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json new file mode 100644 index 000000000..6222a8c3e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_0_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_0_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "101", + "balance": "999999999995438031", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4561969", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc378" + ], + "gasPrice": "0x1", + "nonce": "0x65", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "102", + "balance": "999999999995407094", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4592906", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json index 908587266..1ca5bed7a 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "122", - "balance": "999999999994618451", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5381549", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x7a", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "123", - "balance": "999999999994587322", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5412678", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json new file mode 100644 index 000000000..192c58d08 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "120", + "balance": "999999999994680584", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5319416", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x78", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "121", + "balance": "999999999994649583", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5350417", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json index 13780bc4a..bb2d941e4 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_2_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "132", - "balance": "999999999994222676", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5777324", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x84", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x8a5045bc7a493061be89fdbc32ea8ae69e8d8b55ebe445fa41fa534b1543ab50" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "133", - "balance": "999999999994191547", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5808453", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json new file mode 100644 index 000000000..151fc4b81 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_2_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_2_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "130", + "balance": "999999999994284809", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5715191", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x82", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "131", + "balance": "999999999994253808", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5746192", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json new file mode 100644 index 000000000..d451811bd --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_340282366920938463463374607431768211456_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "151", + "balance": "999999999993462258", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6537742", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x97", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "152", + "balance": "999999999993431126", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6568874", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json index a65a2d851..cf5b9a574 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "153", - "balance": "999999999993400125", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6599875", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x99", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "154", - "balance": "999999999993368996", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6631004", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json index 0b9588f03..8f8c4eb5d 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_340282366920938463463374607431768211456_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_340282366920938463463374607431768211456_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "151", - "balance": "999999999993462258", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6537742", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x97", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "152", - "balance": "999999999993431126", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6568874", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json new file mode 100644 index 000000000..936c754c4 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-0_9_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-0_9_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "140", + "balance": "999999999993889034", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6110966", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x8c", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "141", + "balance": "999999999993858033", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6141967", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json index dc31fde27..0fbf09fa2 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_0_28000_64": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "118", - "balance": "999999999994780664", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5219336", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" - ], - "gasLimit": [ - "0xc338" - ], - "gasPrice": "0x1", - "nonce": "0x76", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "119", - "balance": "999999999994730688", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5269312", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json new file mode 100644 index 000000000..cb83526ea --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_64Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_0_28000_64": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "118", + "balance": "999999999994780664", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5219336", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003" + ], + "gasLimit": [ + "0xc338" + ], + "gasPrice": "0x1", + "nonce": "0x76", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "119", + "balance": "999999999994730688", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5269312", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 64 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json index 017f4407f..d99d43df4 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "120", - "balance": "999999999994680584", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5319416", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x78", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "121", - "balance": "999999999994649583", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5350417", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json new file mode 100644 index 000000000..dcace45f5 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_0_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_0_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "116", + "balance": "999999999994881000", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5119000", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc3b8" + ], + "gasPrice": "0x1", + "nonce": "0x74", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "117", + "balance": "999999999994830896", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5169104", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json index a6a28e666..de6be2614 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_2_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "130", - "balance": "999999999994284809", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5715191", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x82", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "131", - "balance": "999999999994253808", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5746192", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json new file mode 100644 index 000000000..74ea74793 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "128", + "balance": "999999999994385273", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5614727", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc3f8" + ], + "gasPrice": "0x1", + "nonce": "0x80", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "129", + "balance": "999999999994335105", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5664895", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json new file mode 100644 index 000000000..6390eff19 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_2_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "139", + "balance": "999999999993939330", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6060670", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x8b", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "140", + "balance": "999999999993889034", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6110966", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json index 32eb0a84f..2b68058cf 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_2_28000_96Filler.json @@ -284,577 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_2_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "139", - "balance": "999999999993939330", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6060670", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x8b", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "140", - "balance": "999999999993889034", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6110966", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-0_9_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "140", - "balance": "999999999993889034", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6110966", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x8c", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "141", - "balance": "999999999993858033", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6141967", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 0) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json new file mode 100644 index 000000000..4ecec7bfa --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_340282366920938463463374607431768211456_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "163", + "balance": "999999999993000385", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6999615", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0xa3", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "164", + "balance": "999999999992950089", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "7049911", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json index eec3a3f70..eaed9c524 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_340282366920938463463374607431768211456_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_340282366920938463463374607431768211456_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "163", - "balance": "999999999993000385", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6999615", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0xa3", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "164", - "balance": "999999999992950089", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "7049911", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json new file mode 100644 index 000000000..2ba12e443 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_0-3_9_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "149", + "balance": "999999999993543555", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6456445", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x95", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "150", + "balance": "999999999993493259", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6506741", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json index b85ecb363..fb4167588 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_0-3_9_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_9_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "149", - "balance": "999999999993543555", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6456445", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x95", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xf348aa9f55b137fd60af9c782c04ea7c52c0b193972d1c3aa63d78a110fa2e20" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "150", - "balance": "999999999993493259", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6506741", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json new file mode 100644 index 000000000..7d6c6f2be --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "122", + "balance": "999999999994618451", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5381549", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x7a", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "123", + "balance": "999999999994587322", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5412678", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json new file mode 100644 index 000000000..c7276999b --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_2_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_2_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "132", + "balance": "999999999994222676", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5777324", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x84", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x8a5045bc7a493061be89fdbc32ea8ae69e8d8b55ebe445fa41fa534b1543ab50" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "133", + "balance": "999999999994191547", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5808453", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json index 04740e4bc..f492db84b 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_340282366920938463463374607431768211456_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "155", - "balance": "999999999993337736", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6662264", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x9b", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "156", - "balance": "999999999993306607", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6693393", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json new file mode 100644 index 000000000..ea90079b2 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "155", + "balance": "999999999993337736", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6662264", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x9b", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "156", + "balance": "999999999993306607", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6693393", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json new file mode 100644 index 000000000..7cb4e88cc --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_340282366920938463463374607431768211456_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_340282366920938463463374607431768211456_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "153", + "balance": "999999999993400125", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6599875", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x99", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x0467d6413c98fb304cd61014865afdb7b3b81fa53f7ef4046e6a833162c5bb5c" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "154", + "balance": "999999999993368996", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6631004", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json new file mode 100644 index 000000000..1eeff4d1e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-2_9_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "143", + "balance": "999999999993795772", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6204228", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc4b8" + ], + "gasPrice": "0x1", + "nonce": "0x8f", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "144", + "balance": "999999999993764512", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6235488", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json index ac3d84d19..7901a75d7 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-2_9_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-2_9_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "143", - "balance": "999999999993795772", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6204228", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc4b8" - ], - "gasPrice": "0x1", - "nonce": "0x8f", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xc7b29565a7dd9915e6fd86d026aef2fc454506bae7f90e2f2bec5f25f01b2d95" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "144", - "balance": "999999999993764512", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6235488", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 2) and the factor 9 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json new file mode 100644 index 000000000..4253cf60e --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_0_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "113", + "balance": "999999999995031504", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "4968496", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc478" + ], + "gasPrice": "0x1", + "nonce": "0x71", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "114", + "balance": "999999999994981208", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5018792", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json index 87f54083d..ac193ca7e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_0_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "116", - "balance": "999999999994881000", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5119000", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc3b8" - ], - "gasPrice": "0x1", - "nonce": "0x74", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "117", - "balance": "999999999994830896", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5169104", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json index dc666e821..aee0bdf70 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_0_28000_96Filler.json @@ -1,5 +1,5 @@ { - "cmul_1-3_0_28000_96": { + "ecmul_1-3_0_28000_96": { "env": { "currentCoinbase": "0x3535353535353535353535353535353535353535", "currentDifficulty": "0x020000", @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_0_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "113", - "balance": "999999999995031504", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "4968496", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc478" - ], - "gasPrice": "0x1", - "nonce": "0x71", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "114", - "balance": "999999999994981208", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5018792", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 0 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json index 2dccf16c1..cc951800e 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_0-3_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "128", - "balance": "999999999994385273", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5614727", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc3f8" - ], - "gasPrice": "0x1", - "nonce": "0x80", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "129", - "balance": "999999999994335105", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5664895", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (0, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json new file mode 100644 index 000000000..c6d8905b3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_1_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_1_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "126", + "balance": "999999999994485865", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5514135", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x7e", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "127", + "balance": "999999999994435633", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5564367", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json new file mode 100644 index 000000000..0f5b957f9 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_128Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_2_28000_128": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "137", + "balance": "999999999994039858", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "5960142", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" + ], + "gasLimit": [ + "0xc4b8" + ], + "gasPrice": "0x1", + "nonce": "0x89", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "138", + "balance": "999999999993989498", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6010502", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json index 9f1a023e7..4443808d1 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_2_28000_96Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_2_28000_128": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "137", - "balance": "999999999994039858", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5960142", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" - ], - "gasLimit": [ - "0xc4b8" - ], - "gasPrice": "0x1", - "nonce": "0x89", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x94b60ed39c6fe45858b5931190d93861a2d2538991194cdf9a39b5e83dec0827" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "138", - "balance": "999999999993989498", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6010502", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 2 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json index 61a5d83a3..f13673c38 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_340282366920938463463374607431768211456_28000_80": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "161", - "balance": "999999999993100785", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6899215", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0xa1", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "162", - "balance": "999999999993050553", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6949447", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json new file mode 100644 index 000000000..8e730a41c --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_80Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_80": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "161", + "balance": "999999999993100785", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6899215", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0xa1", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "162", + "balance": "999999999993050553", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6949447", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json new file mode 100644 index 000000000..c5da1f823 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_1-3_340282366920938463463374607431768211456_28000_96Filler.json @@ -0,0 +1,288 @@ +{ + "ecmul_1-3_340282366920938463463374607431768211456_28000_96": { + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x01", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "pre": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "159", + "balance": "999999999993201377", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6798623", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + }, + "transaction": { + "data": [ + "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" + ], + "gasLimit": [ + "0xc438" + ], + "gasPrice": "0x1", + "nonce": "0x9f", + "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", + "value": [ + "0x" + ] + }, + "expect": [ + { + "indexes": { + "data": 0, + "gas": 0, + "value": 0 + }, + "network": [ + "Metropolis" + ], + "result": { + "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000001": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "c305c901078781c232a2a521c2af7980f8385ee9": { + "storage": { + "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" + }, + "nonce": "1", + "balance": "0", + "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" + }, + "0000000000000000000000000000000000000005": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000000": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000003": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { + "storage": {}, + "nonce": "160", + "balance": "999999999993151145", + "code": "0x" + }, + "0000000000000000000000000000000000000006": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "0000000000000000000000000000000000000007": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "598443f1880ef585b21f1d7585bd0577402861e5": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "0000000000000000000000000000000000000004": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "e0fc04fa2d34a66b779fd5cee748268032a146c0": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "3535353535353535353535353535353535353535": { + "storage": {}, + "nonce": "0", + "balance": "6848855", + "code": "0x" + }, + "0000000000000000000000000000000000000002": { + "storage": {}, + "nonce": "0", + "balance": "1", + "code": "0x" + }, + "77db2bebba79db42a978f896968f4afce746ea1f": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + }, + "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { + "storage": {}, + "nonce": "0", + "balance": "1000000000000000000", + "code": "0x" + } + } + } + ], + "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" + } +} diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json index 0b986c436..982cd1b18 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1456_28000_80Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 80 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_340282366920938463463374607431768211456_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "159", - "balance": "999999999993201377", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6798623", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000100000000000000000000000000000000" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x9f", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0xa97df6032909972db52b8144798569bb6169ec8b3e065841da96b3d866aa131e" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "160", - "balance": "999999999993151145", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "6848855", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 340282366920938463463374607431768211456 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json index 15eb9ad13..4f529207a 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_1_28000_128Filler.json @@ -284,291 +284,5 @@ } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 28000 bytes" - }, - "ecmul_1-3_1_28000_96": { - "env": { - "currentCoinbase": "0x3535353535353535353535353535353535353535", - "currentDifficulty": "0x020000", - "currentGasLimit": "0x5f5e100", - "currentNumber": "0x01", - "currentTimestamp": "1000", - "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" - }, - "pre": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "126", - "balance": "999999999994485865", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5514135", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - }, - "transaction": { - "data": [ - "0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001" - ], - "gasLimit": [ - "0xc438" - ], - "gasPrice": "0x1", - "nonce": "0x7e", - "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", - "value": [ - "0x" - ] - }, - "expect": [ - { - "indexes": { - "data": 0, - "gas": 0, - "value": 0 - }, - "network": [ - "Metropolis" - ], - "result": { - "24143873e0e0815fdcbcffdbe09c979cbf9ad013": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000001": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "dceceaf3fc5c0a63d195d69b1a90011b7b19650d": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "c305c901078781c232a2a521c2af7980f8385ee9": { - "storage": { - "0x00": "0x556a3c03566b04196c534f5612f50167917d72e6ab9b687e10e72dbe0e0f9279" - }, - "nonce": "1", - "balance": "0", - "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060076305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b" - }, - "0000000000000000000000000000000000000005": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "13cbb8d99c6c4e0f2728c7d72606e78a29c4e224": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000000": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000003": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": { - "storage": {}, - "nonce": "127", - "balance": "999999999994435633", - "code": "0x" - }, - "0000000000000000000000000000000000000006": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "0000000000000000000000000000000000000007": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "598443f1880ef585b21f1d7585bd0577402861e5": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "0000000000000000000000000000000000000004": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "e0fc04fa2d34a66b779fd5cee748268032a146c0": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "3535353535353535353535353535353535353535": { - "storage": {}, - "nonce": "0", - "balance": "5564367", - "code": "0x" - }, - "0000000000000000000000000000000000000002": { - "storage": {}, - "nonce": "0", - "balance": "1", - "code": "0x" - }, - "77db2bebba79db42a978f896968f4afce746ea1f": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - }, - "90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c": { - "storage": {}, - "nonce": "0", - "balance": "1000000000000000000", - "code": "0x" - } - } - } - ], - "explanation": "Puts the point (1, 3) and the factor 1 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes" } } |