diff --git a/eth/demo.ipynb b/eth/demo.ipynb index 09c019e..0cb4680 100644 --- a/eth/demo.ipynb +++ b/eth/demo.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": 52, - "id": "37f0eb92", + "id": "0f0c2061", "metadata": {}, "outputs": [], "source": [ @@ -13,7 +13,7 @@ { "cell_type": "code", "execution_count": 53, - "id": "262bffee", + "id": "c699576a", "metadata": {}, "outputs": [], "source": [ @@ -23,7 +23,7 @@ { "cell_type": "code", "execution_count": 38, - "id": "373c9e91", + "id": "7fa3cca3", "metadata": {}, "outputs": [], "source": [ @@ -32,18 +32,18 @@ }, { "cell_type": "code", - "execution_count": 54, - "id": "2b543fbf", + "execution_count": 71, + "id": "041cc00f", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Available datasets:\n", - "[\n", - " \u001b[32m'14797455496207951391356508759149962584765968173479481191220882411966396840571'\u001b[39m\n", - "]\n" + "Available datasets:\r\n", + "[\r\n", + " \u001b[32m'14797455496207951391356508759149962584765968173479481191220882411966396840571'\u001b[39m\r\n", + "]\r\n" ] } ], @@ -53,25 +53,25 @@ }, { "cell_type": "code", - "execution_count": 55, - "id": "b419c502", + "execution_count": 72, + "id": "952643af", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Available bounties on dataset: 14797455496207951391356508759149962584765968173479481191220882411966396840571\n", - "[\n", - " {\n", - " PubKey1: \u001b[32m'19517200380561602233013947304080897707587995089006775240619814703482168364893'\u001b[39m,\n", - " PubKey2: \u001b[32m'10758991262778566768807205545860719510109920355369254969648901060785189870847'\u001b[39m,\n", - " MSEcap: \u001b[32m'18406'\u001b[39m,\n", - " Bounty: \u001b[32m'49.0'\u001b[39m,\n", - " Issuer: \u001b[32m'0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec'\u001b[39m,\n", - " IPFS: \u001b[32m'QmWLRJVL5uViT7h64bdeUM3GKMWP9DSWRggGC8igDuQdHR'\u001b[39m\n", - " }\n", - "]\n" + "Available bounties on dataset: 14797455496207951391356508759149962584765968173479481191220882411966396840571\r\n", + "[\r\n", + " {\r\n", + " PubKey1: \u001b[32m'8385930133524036559273104048419821016491875134467519785353152799140128167921'\u001b[39m,\r\n", + " PubKey2: \u001b[32m'17155255312018438018746349179262607517493307326242830912102091150670145263900'\u001b[39m,\r\n", + " MSEcap: \u001b[32m'12888'\u001b[39m,\r\n", + " Bounty: \u001b[32m'49.0'\u001b[39m,\r\n", + " Issuer: \u001b[32m'0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec'\u001b[39m,\r\n", + " IPFS: \u001b[32m'QmWLRJVL5uViT7h64bdeUM3GKMWP9DSWRggGC8igDuQdHR'\u001b[39m\r\n", + " }\r\n", + "]\r\n" ] } ], @@ -81,7 +81,7 @@ }, { "cell_type": "markdown", - "id": "f2c1a7e5", + "id": "54dd3e5f", "metadata": {}, "source": [ "Command:\n", @@ -93,8 +93,8 @@ }, { "cell_type": "code", - "execution_count": 56, - "id": "137801dd", + "execution_count": 73, + "id": "f5c6f46c", "metadata": {}, "outputs": [ { @@ -106,13 +106,13 @@ } ], "source": [ - "zkml download_dataset --hash '14797455496207951391356508759149962584765968173479481191220882411966396840571' --publickey ./keys/out_public.json --walletprivatekey ./keys/.private_key --mse 18406 --path ./ipfs_dataset" + "zkml download_dataset --hash '14797455496207951391356508759149962584765968173479481191220882411966396840571' --publickey ./keys/out_public.json --walletprivatekey ./keys/.private_key --mse 12888 --path ./ipfs_dataset" ] }, { "cell_type": "code", - "execution_count": 57, - "id": "30194a02", + "execution_count": 74, + "id": "bbfeffc1", "metadata": {}, "outputs": [ { @@ -129,8 +129,8 @@ }, { "cell_type": "code", - "execution_count": 58, - "id": "c33c67c9", + "execution_count": 75, + "id": "cb89c402", "metadata": {}, "outputs": [], "source": [ @@ -143,8 +143,8 @@ }, { "cell_type": "code", - "execution_count": 59, - "id": "13a8a10d", + "execution_count": 76, + "id": "d99c0b92", "metadata": {}, "outputs": [], "source": [ @@ -154,8 +154,8 @@ }, { "cell_type": "code", - "execution_count": 60, - "id": "61e18de1", + "execution_count": 77, + "id": "786753dd", "metadata": {}, "outputs": [ { @@ -164,7 +164,7 @@ "((20, 1), (20, 4))" ] }, - "execution_count": 60, + "execution_count": 77, "metadata": {}, "output_type": "execute_result" } @@ -175,8 +175,8 @@ }, { "cell_type": "code", - "execution_count": 61, - "id": "d0bf1b2f", + "execution_count": 78, + "id": "e5474855", "metadata": { "scrolled": true }, @@ -207,8 +207,8 @@ }, { "cell_type": "code", - "execution_count": 63, - "id": "7d84c1a0", + "execution_count": 79, + "id": "72e13ead", "metadata": {}, "outputs": [], "source": [ @@ -225,15 +225,15 @@ }, { "cell_type": "code", - "execution_count": 64, - "id": "d2aa6b29", + "execution_count": 80, + "id": "ec00edb2", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "9.435887869889871\n" + "0.07941453957968247\n" ] } ], @@ -249,8 +249,8 @@ }, { "cell_type": "code", - "execution_count": 68, - "id": "25fec27c", + "execution_count": 81, + "id": "42e8e502", "metadata": {}, "outputs": [], "source": [ @@ -290,28 +290,40 @@ "json.dump(data, open('./settings.json', 'w'), indent = 2)" ] }, + { + "cell_type": "markdown", + "id": "d0d8e977", + "metadata": {}, + "source": [ + "Command:\n", + "\n", + "```\n", + "zkml claim_bounty --payment 0x2546BcD3c84621e976D8185a91A922aE77ECEc30 --model ./model_shuffled --dataset ./dataset --publickey ./keys/out_public.json --settings ./settings.json\n", + "```" + ] + }, { "cell_type": "code", - "execution_count": 13, - "id": "b66ed78d", + "execution_count": 82, + "id": "379310bc", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Mean Squared Error actual: 23.683279741029036\n", - "... quantized 65536\n", - "Mean Squared Error simulated: 23.68532014893487414\n", - "... quantized 65536\n", + "Mean Squared Error actual: 0.07941453957968254\n", + "... quantized 13014\n", + "Mean Squared Error simulated: 0.07939327351522920684\n", + "... quantized 13011\n", "Circuit Outputs:\n", - "3880370\n", - "Proof took 18.778 s\n", + "13011\n", + "Proof took 17.02 s\n", "ERROR: Invalid proof\n", "\u001b[31mAn unexpected error occurred:\u001b[39m\n", "\n", "Error: Could not verify the proof\n", - " at SimpleTaskDefinition.action (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/hardhat.config.js:246:26)\n", + " at SimpleTaskDefinition.action (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/hardhat.config.js:281:26)\n", " at Environment._runTaskDefinition (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4mhardhat\u001b[24m/src/internal/core/runtime-environment.ts:217:14)\n", " at Environment.run (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4mhardhat\u001b[24m/src/internal/core/runtime-environment.ts:129:14)\n", " at main (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4mhardhat\u001b[24m/src/internal/cli/cli.ts:197:5)\n" @@ -322,10 +334,22 @@ "zkml claim_bounty --payment 0x2546BcD3c84621e976D8185a91A922aE77ECEc30 --model ./model_shuffled --dataset ./dataset --publickey ./keys/out_public.json --settings ./settings.json" ] }, + { + "cell_type": "markdown", + "id": "b5576cf4", + "metadata": {}, + "source": [ + "Command:\n", + "\n", + "```\n", + "zkml claim_bounty --payment 0x2546BcD3c84621e976D8185a91A922aE77ECEc30 --model ./model --dataset ./dataset --publickey ./keys/out_public.json --settings ./settings.json\n", + "```" + ] + }, { "cell_type": "code", - "execution_count": 69, - "id": "eea7b64b", + "execution_count": null, + "id": "d386771e", "metadata": {}, "outputs": [ { @@ -338,59 +362,11 @@ "... quantized 12888\n", "Circuit Outputs:\n", "12888\n", - "Proof took 18.409 s\n", + "Proof took 17.131 s\n", "INFO: OK!\n", "Paying 0x2546BcD3c84621e976D8185a91A922aE77ECEc30\n", "With balance\n", - "10850.6\n", - "\u001b[31mAn unexpected error occurred:\u001b[39m\n", - "\n", - "\u001b[36m\u001b[39m Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={\"reason\":\"processing response error\",\"code\":\"SERVER_ERROR\",\"body\":\"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":51,\\\"error\\\":{\\\"code\\\":-32603,\\\"message\\\":\\\"Error: VM Exception while processing transaction: reverted with reason string 'bounty does not exist'\\\"}}\",\"error\":{\"code\":-32603},\"requestBody\":\"{\\\"method\\\":\\\"eth_estimateGas\\\",\\\"params\\\":[{\\\"type\\\":\\\"0x2\\\",\\\"maxFeePerGas\\\":\\\"0x9502f900\\\",\\\"maxPriorityFeePerGas\\\":\\\"0x9502f900\\\",\\\"from\\\":\\\"0x1cbd3b2770909d4e10f157cabc84c7264073c9ec\\\",\\\"to\\\":\\\"0x82e01223d51eb87e16a03e24687edf0f294da6f1\\\",\\\"data\\\":\\\"0xb3ca56c70000000000000000000000002546bcd3c84621e976d8185a91a922ae77ecec3021a7e66b6d07482cb342e3b67552158bb09084dc4ca01ecd49c155668c3dc6dd1534bf38f404b193cb54b4b9d139004578a7644e1fd755325dbc94c7b3cdfe8a09802fecf81c7c489f46fe905c705c56d90605c52cc1eb81f08bda2effd22a5028b67b1a41b35f85dcb56eca5310cd6b81c45c2c98c8892e94172371c16fa09118f8d60b85ed899115320be1f5e1fec35d5355bf5fe24fcb9944a8353605035a0ab97a17f2ab82f9a6119aae994adff093674674ed4a8c75e5ae3471f38c8cc2153c941f719015b51661e4f78f8ef0c644d8ca51805ed9e15aae4ec4ad0809940f768cb4ae1242e389225d405f4a9b02c1a46c054dcee4beddf2c43c6791cb25000000000000000000000000000000000000000000000000000000000000325820b71021691bb851040848632c2f7571e7cce5af3bf8f4194ed92e65e6f33a7b00000000000000000000000000000000000000000000000000000000000086680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000007ccf000000000000000000000000000000000000000000000000000000000000299d0000000000000000000000000000000000000000000000000000000000000cd1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000070020000000000000000000000000000000000000000000000000000000000003336000000000000000000000000000000000000000000000000000000000000133700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000b99b00000000000000000000000000000000000000000000000000000000000033360000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000666900000000000000000000000000000000000000000000000000000000000096680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000056690000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000004669000000000000000000000000000000000000000000000000000000000000900200000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000002004000000000000000000000000000000000000000000000000000000000000499c0000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005003000000000000000000000000000000000000000000000000000000000000a0020000000000000000000000000000000000000000000000000000000000003cd0000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000a6680000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000083350000000000000000000000000000000000000000000000000000000000003003000000000000000000000000000000000000000000000000000000000000033700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006ccf00000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000000cd10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000599c000000000000000000000000000000000000000000000000000000000000d6670000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000005ccf000000000000000000000000000000000000000000000000000000000000899b000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000008335000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005ccf0000000000000000000000000000000000000000000000000000000000008668000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000006669000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000005336000000000000000000000000000000000000000000000000000000000000b3340000000000000000000000000000000000000000000000000000000000002cd000000000000000000000000000000000000000000000000000000000000040031e515c61946d54d12d9923f25e88e0bf9aba090722545038b1e2ac3640fe6cd316edeb2b712232256072094c4ea734b1ef5b6e32a0bb0d5c971d2fbe4501ae1416e0ea14667726b89497d7a7be21afa8abcf7a1b500d02a7fb4312aa34802ea3152d489af4cd5013b4c915ffdee65448e1f4bee82969a357b56a0e18770f4d902e385ecc545bf07e84882ee85aa32fb9beba5130e2e9484ec36e4768d2bca3192cf65002dbadecdcb22bafd0d72410192399a07d448e061c5bd745652653dea915406bd7e6e449195dc0b7a80daec7cbd104c64c5fc7e37e4217bf733511d5b502de309f12e27456251b14276af3b1ef55ed65196c3518889e09e5a3dda3d2981715c849c4fe724a602e82cc4a36a4bc587ebaa81a61a8d73f863fb9b462881527eeb178cce70e8c5438e49830cd6f8dd539008354c8e8a36d63bf12aa0970bb2b26580cf5310dfa9ff554716790615ef44d47f18d590acb450d8ab4afb74f5d17c95f8dabc06bdb7c22841df910d2cfb9c41b38f54b445e3bb69ae0dd06dcff00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000001c75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000005554000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000a002000000000000000000000000000000000000000000000000000000000000e667000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000c99a000000000000000000000000000000000000000000000000000000000000c667000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000c99a0000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000d001000000000000000000000000000000000000000000000000000000000000a668000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000f667000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000ccce000000000000000000000000000000000000000000000000000000000000b334000000000000000000000000000000000000000000000000000000000000b6680000000000000000000000000000000000000000000000000000000000008ccf000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000080020000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000007ffe\\\"}],\\\"id\\\":51,\\\"jsonrpc\\\":\\\"2.0\\\"}\",\"requestMethod\":\"POST\",\"url\":\"http://localhost:8545\"}, tx={\"data\":\"0xb3ca56c70000000000000000000000002546bcd3c84621e976d8185a91a922ae77ecec3021a7e66b6d07482cb342e3b67552158bb09084dc4ca01ecd49c155668c3dc6dd1534bf38f404b193cb54b4b9d139004578a7644e1fd755325dbc94c7b3cdfe8a09802fecf81c7c489f46fe905c705c56d90605c52cc1eb81f08bda2effd22a5028b67b1a41b35f85dcb56eca5310cd6b81c45c2c98c8892e94172371c16fa09118f8d60b85ed899115320be1f5e1fec35d5355bf5fe24fcb9944a8353605035a0ab97a17f2ab82f9a6119aae994adff093674674ed4a8c75e5ae3471f38c8cc2153c941f719015b51661e4f78f8ef0c644d8ca51805ed9e15aae4ec4ad0809940f768cb4ae1242e389225d405f4a9b02c1a46c054dcee4beddf2c43c6791cb25000000000000000000000000000000000000000000000000000000000000325820b71021691bb851040848632c2f7571e7cce5af3bf8f4194ed92e65e6f33a7b00000000000000000000000000000000000000000000000000000000000086680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000007ccf000000000000000000000000000000000000000000000000000000000000299d0000000000000000000000000000000000000000000000000000000000000cd1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000070020000000000000000000000000000000000000000000000000000000000003336000000000000000000000000000000000000000000000000000000000000133700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000b99b00000000000000000000000000000000000000000000000000000000000033360000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000666900000000000000000000000000000000000000000000000000000000000096680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000056690000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000004669000000000000000000000000000000000000000000000000000000000000900200000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000002004000000000000000000000000000000000000000000000000000000000000499c0000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005003000000000000000000000000000000000000000000000000000000000000a0020000000000000000000000000000000000000000000000000000000000003cd0000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000a6680000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000083350000000000000000000000000000000000000000000000000000000000003003000000000000000000000000000000000000000000000000000000000000033700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006ccf00000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000000cd10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000599c000000000000000000000000000000000000000000000000000000000000d6670000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000005ccf000000000000000000000000000000000000000000000000000000000000899b000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000008335000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005ccf0000000000000000000000000000000000000000000000000000000000008668000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000006669000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000005336000000000000000000000000000000000000000000000000000000000000b3340000000000000000000000000000000000000000000000000000000000002cd000000000000000000000000000000000000000000000000000000000000040031e515c61946d54d12d9923f25e88e0bf9aba090722545038b1e2ac3640fe6cd316edeb2b712232256072094c4ea734b1ef5b6e32a0bb0d5c971d2fbe4501ae1416e0ea14667726b89497d7a7be21afa8abcf7a1b500d02a7fb4312aa34802ea3152d489af4cd5013b4c915ffdee65448e1f4bee82969a357b56a0e18770f4d902e385ecc545bf07e84882ee85aa32fb9beba5130e2e9484ec36e4768d2bca3192cf65002dbadecdcb22bafd0d72410192399a07d448e061c5bd745652653dea915406bd7e6e449195dc0b7a80daec7cbd104c64c5fc7e37e4217bf733511d5b502de309f12e27456251b14276af3b1ef55ed65196c3518889e09e5a3dda3d2981715c849c4fe724a602e82cc4a36a4bc587ebaa81a61a8d73f863fb9b462881527eeb178cce70e8c5438e49830cd6f8dd539008354c8e8a36d63bf12aa0970bb2b26580cf5310dfa9ff554716790615ef44d47f18d590acb450d8ab4afb74f5d17c95f8dabc06bdb7c22841df910d2cfb9c41b38f54b445e3bb69ae0dd06dcff00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000001c75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000005554000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000a002000000000000000000000000000000000000000000000000000000000000e667000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000c99a000000000000000000000000000000000000000000000000000000000000c667000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000c99a0000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000d001000000000000000000000000000000000000000000000000000000000000a668000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000f667000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000ccce000000000000000000000000000000000000000000000000000000000000b334000000000000000000000000000000000000000000000000000000000000b6680000000000000000000000000000000000000000000000000000000000008ccf000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000080020000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000007ffe\",\"to\":{},\"from\":\"0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec\",\"type\":2,\"maxFeePerGas\":{\"type\":\"BigNumber\",\"hex\":\"0x9502f900\"},\"maxPriorityFeePerGas\":{\"type\":\"BigNumber\",\"hex\":\"0x9502f900\"},\"nonce\":{},\"gasLimit\":{},\"chainId\":{}}, code=UNPREDICTABLE_GAS_LIMIT, version=abstract-signer/5.4.1)\n", - " at Logger.makeError (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/logger/src.ts/index.ts:213:28)\n", - " at Logger.throwError (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/logger/src.ts/index.ts:225:20)\n", - " at /Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/abstract-signer/src.ts/index.ts:301:31\n", - "\u001b[90m at processTicksAndRejections (internal/process/task_queues.js:97:5)\u001b[39m\n", - " at async Promise.all (index 7) {\n", - " reason: \u001b[32m'cannot estimate gas; transaction may fail or may require manual gas limit'\u001b[39m,\n", - " code: \u001b[32m'UNPREDICTABLE_GAS_LIMIT'\u001b[39m,\n", - " error: Error: processing response error (body=\"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":51,\\\"error\\\":{\\\"code\\\":-32603,\\\"message\\\":\\\"Error: VM Exception while processing transaction: reverted with reason string 'bounty does not exist'\\\"}}\", error={\"code\":-32603}, requestBody=\"{\\\"method\\\":\\\"eth_estimateGas\\\",\\\"params\\\":[{\\\"type\\\":\\\"0x2\\\",\\\"maxFeePerGas\\\":\\\"0x9502f900\\\",\\\"maxPriorityFeePerGas\\\":\\\"0x9502f900\\\",\\\"from\\\":\\\"0x1cbd3b2770909d4e10f157cabc84c7264073c9ec\\\",\\\"to\\\":\\\"0x82e01223d51eb87e16a03e24687edf0f294da6f1\\\",\\\"data\\\":\\\"0xb3ca56c70000000000000000000000002546bcd3c84621e976d8185a91a922ae77ecec3021a7e66b6d07482cb342e3b67552158bb09084dc4ca01ecd49c155668c3dc6dd1534bf38f404b193cb54b4b9d139004578a7644e1fd755325dbc94c7b3cdfe8a09802fecf81c7c489f46fe905c705c56d90605c52cc1eb81f08bda2effd22a5028b67b1a41b35f85dcb56eca5310cd6b81c45c2c98c8892e94172371c16fa09118f8d60b85ed899115320be1f5e1fec35d5355bf5fe24fcb9944a8353605035a0ab97a17f2ab82f9a6119aae994adff093674674ed4a8c75e5ae3471f38c8cc2153c941f719015b51661e4f78f8ef0c644d8ca51805ed9e15aae4ec4ad0809940f768cb4ae1242e389225d405f4a9b02c1a46c054dcee4beddf2c43c6791cb25000000000000000000000000000000000000000000000000000000000000325820b71021691bb851040848632c2f7571e7cce5af3bf8f4194ed92e65e6f33a7b00000000000000000000000000000000000000000000000000000000000086680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000007ccf000000000000000000000000000000000000000000000000000000000000299d0000000000000000000000000000000000000000000000000000000000000cd1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000070020000000000000000000000000000000000000000000000000000000000003336000000000000000000000000000000000000000000000000000000000000133700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000b99b00000000000000000000000000000000000000000000000000000000000033360000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000666900000000000000000000000000000000000000000000000000000000000096680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000056690000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000004669000000000000000000000000000000000000000000000000000000000000900200000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000002004000000000000000000000000000000000000000000000000000000000000499c0000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005003000000000000000000000000000000000000000000000000000000000000a0020000000000000000000000000000000000000000000000000000000000003cd0000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000a6680000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000083350000000000000000000000000000000000000000000000000000000000003003000000000000000000000000000000000000000000000000000000000000033700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006ccf00000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000000cd10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000599c000000000000000000000000000000000000000000000000000000000000d6670000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000005ccf000000000000000000000000000000000000000000000000000000000000899b000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000008335000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005ccf0000000000000000000000000000000000000000000000000000000000008668000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000006669000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000005336000000000000000000000000000000000000000000000000000000000000b3340000000000000000000000000000000000000000000000000000000000002cd000000000000000000000000000000000000000000000000000000000000040031e515c61946d54d12d9923f25e88e0bf9aba090722545038b1e2ac3640fe6cd316edeb2b712232256072094c4ea734b1ef5b6e32a0bb0d5c971d2fbe4501ae1416e0ea14667726b89497d7a7be21afa8abcf7a1b500d02a7fb4312aa34802ea3152d489af4cd5013b4c915ffdee65448e1f4bee82969a357b56a0e18770f4d902e385ecc545bf07e84882ee85aa32fb9beba5130e2e9484ec36e4768d2bca3192cf65002dbadecdcb22bafd0d72410192399a07d448e061c5bd745652653dea915406bd7e6e449195dc0b7a80daec7cbd104c64c5fc7e37e4217bf733511d5b502de309f12e27456251b14276af3b1ef55ed65196c3518889e09e5a3dda3d2981715c849c4fe724a602e82cc4a36a4bc587ebaa81a61a8d73f863fb9b462881527eeb178cce70e8c5438e49830cd6f8dd539008354c8e8a36d63bf12aa0970bb2b26580cf5310dfa9ff554716790615ef44d47f18d590acb450d8ab4afb74f5d17c95f8dabc06bdb7c22841df910d2cfb9c41b38f54b445e3bb69ae0dd06dcff00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000001c75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000005554000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000a002000000000000000000000000000000000000000000000000000000000000e667000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000c99a000000000000000000000000000000000000000000000000000000000000c667000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000c99a0000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000d001000000000000000000000000000000000000000000000000000000000000a668000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000f667000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000ccce000000000000000000000000000000000000000000000000000000000000b334000000000000000000000000000000000000000000000000000000000000b6680000000000000000000000000000000000000000000000000000000000008ccf000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000080020000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000007ffe\\\"}],\\\"id\\\":51,\\\"jsonrpc\\\":\\\"2.0\\\"}\", requestMethod=\"POST\", url=\"http://localhost:8545\", code=SERVER_ERROR, version=web/5.4.0)\n", - " at Logger.makeError (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/logger/src.ts/index.ts:213:28)\n", - " at Logger.throwError (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/logger/src.ts/index.ts:225:20)\n", - " at /Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/src.ts/index.ts:284:28\n", - " at step (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:33:23)\n", - " at Object.next (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:14:53)\n", - " at fulfilled (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:5:58)\n", - " \u001b[90m at processTicksAndRejections (internal/process/task_queues.js:97:5)\u001b[39m {\n", - " reason: \u001b[32m'processing response error'\u001b[39m,\n", - " code: \u001b[32m'SERVER_ERROR'\u001b[39m,\n", - " body: \u001b[32m`{\"jsonrpc\":\"2.0\",\"id\":51,\"error\":{\"code\":-32603,\"message\":\"Error: VM Exception while processing transaction: reverted with reason string 'bounty does not exist'\"}}`\u001b[39m,\n", - " error: Error: Error: VM Exception while processing transaction: reverted with reason string 'bounty does not exist'\n", - " at getResult (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/providers/src.ts/json-rpc-provider.ts:97:28)\n", - " at processJsonFunc (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/src.ts/index.ts:326:22)\n", - " at /Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/src.ts/index.ts:263:42\n", - " at step (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:33:23)\n", - " at Object.next (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:14:53)\n", - " at fulfilled (/Users/liaopeiyuan/Documents/GitHub/zkml-core/eth/node_modules/\u001b[4m@ethersproject\u001b[24m/web/lib/index.js:5:58)\n", - " \u001b[90m at processTicksAndRejections (internal/process/task_queues.js:97:5)\u001b[39m {\n", - " code: \u001b[33m-32603\u001b[39m,\n", - " data: \u001b[90mundefined\u001b[39m\n", - " },\n", - " requestBody: \u001b[32m'{\"method\":\"eth_estimateGas\",\"params\":[{\"type\":\"0x2\",\"maxFeePerGas\":\"0x9502f900\",\"maxPriorityFeePerGas\":\"0x9502f900\",\"from\":\"0x1cbd3b2770909d4e10f157cabc84c7264073c9ec\",\"to\":\"0x82e01223d51eb87e16a03e24687edf0f294da6f1\",\"data\":\"0xb3ca56c70000000000000000000000002546bcd3c84621e976d8185a91a922ae77ecec3021a7e66b6d07482cb342e3b67552158bb09084dc4ca01ecd49c155668c3dc6dd1534bf38f404b193cb54b4b9d139004578a7644e1fd755325dbc94c7b3cdfe8a09802fecf81c7c489f46fe905c705c56d90605c52cc1eb81f08bda2effd22a5028b67b1a41b35f85dcb56eca5310cd6b81c45c2c98c8892e94172371c16fa09118f8d60b85ed899115320be1f5e1fec35d5355bf5fe24fcb9944a8353605035a0ab97a17f2ab82f9a6119aae994adff093674674ed4a8c75e5ae3471f38c8cc2153c941f719015b51661e4f78f8ef0c644d8ca51805ed9e15aae4ec4ad0809940f768cb4ae1242e389225d405f4a9b02c1a46c054dcee4beddf2c43c6791cb25000000000000000000000000000000000000000000000000000000000000325820b71021691bb851040848632c2f7571e7cce5af3bf8f4194ed92e65e6f33a7b00000000000000000000000000000000000000000000000000000000000086680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000007ccf000000000000000000000000000000000000000000000000000000000000299d0000000000000000000000000000000000000000000000000000000000000cd1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000070020000000000000000000000000000000000000000000000000000000000003336000000000000000000000000000000000000000000000000000000000000133700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000b99b00000000000000000000000000000000000000000000000000000000000033360000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000666900000000000000000000000000000000000000000000000000000000000096680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000056690000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000004669000000000000000000000000000000000000000000000000000000000000900200000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000002004000000000000000000000000000000000000000000000000000000000000499c0000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005003000000000000000000000000000000000000000000000000000000000000a0020000000000000000000000000000000000000000000000000000000000003cd0000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000a6680000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000083350000000000000000000000000000000000000000000000000000000000003003000000000000000000000000000000000000000000000000000000000000033700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006ccf00000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000000cd10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000599c000000000000000000000000000000000000000000000000000000000000d6670000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000005ccf000000000000000000000000000000000000000000000000000000000000899b000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000008335000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005ccf0000000000000000000000000000000000000000000000000000000000008668000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000006669000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000005336000000000000000000000000000000000000000000000000000000000000b3340000000000000000000000000000000000000000000000000000000000002cd000000000000000000000000000000000000000000000000000000000000040031e515c61946d54d12d9923f25e88e0bf9aba090722545038b1e2ac3640fe6cd316edeb2b712232256072094c4ea734b1ef5b6e32a0bb0d5c971d2fbe4501ae1416e0ea14667726b89497d7a7be21afa8abcf7a1b500d02a7fb4312aa34802ea3152d489af4cd5013b4c915ffdee65448e1f4bee82969a357b56a0e18770f4d902e385ecc545bf07e84882ee85aa32fb9beba5130e2e9484ec36e4768d2bca3192cf65002dbadecdcb22bafd0d72410192399a07d448e061c5bd745652653dea915406bd7e6e449195dc0b7a80daec7cbd104c64c5fc7e37e4217bf733511d5b502de309f12e27456251b14276af3b1ef55ed65196c3518889e09e5a3dda3d2981715c849c4fe724a602e82cc4a36a4bc587ebaa81a61a8d73f863fb9b462881527eeb178cce70e8c5438e49830cd6f8dd539008354c8e8a36d63bf12aa0970bb2b26580cf5310dfa9ff554716790615ef44d47f18d590acb450d8ab4afb74f5d17c95f8dabc06bdb7c22841df910d2cfb9c41b38f54b445e3bb69ae0dd06dcff00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000001c75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000005554000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000a002000000000000000000000000000000000000000000000000000000000000e667000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000c99a000000000000000000000000000000000000000000000000000000000000c667000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000c99a0000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000d001000000000000000000000000000000000000000000000000000000000000a668000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000f667000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000ccce000000000000000000000000000000000000000000000000000000000000b334000000000000000000000000000000000000000000000000000000000000b6680000000000000000000000000000000000000000000000000000000000008ccf000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000080020000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000007ffe\"}],\"id\":51,\"jsonrpc\":\"2.0\"}'\u001b[39m,\n", - " requestMethod: \u001b[32m'POST'\u001b[39m,\n", - " url: \u001b[32m'http://localhost:8545'\u001b[39m\n", - " },\n", - " tx: {\n", - " data: \u001b[32m'0xb3ca56c70000000000000000000000002546bcd3c84621e976d8185a91a922ae77ecec3021a7e66b6d07482cb342e3b67552158bb09084dc4ca01ecd49c155668c3dc6dd1534bf38f404b193cb54b4b9d139004578a7644e1fd755325dbc94c7b3cdfe8a09802fecf81c7c489f46fe905c705c56d90605c52cc1eb81f08bda2effd22a5028b67b1a41b35f85dcb56eca5310cd6b81c45c2c98c8892e94172371c16fa09118f8d60b85ed899115320be1f5e1fec35d5355bf5fe24fcb9944a8353605035a0ab97a17f2ab82f9a6119aae994adff093674674ed4a8c75e5ae3471f38c8cc2153c941f719015b51661e4f78f8ef0c644d8ca51805ed9e15aae4ec4ad0809940f768cb4ae1242e389225d405f4a9b02c1a46c054dcee4beddf2c43c6791cb25000000000000000000000000000000000000000000000000000000000000325820b71021691bb851040848632c2f7571e7cce5af3bf8f4194ed92e65e6f33a7b00000000000000000000000000000000000000000000000000000000000086680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000007ccf000000000000000000000000000000000000000000000000000000000000299d0000000000000000000000000000000000000000000000000000000000000cd1000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000070020000000000000000000000000000000000000000000000000000000000003336000000000000000000000000000000000000000000000000000000000000133700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000b99b00000000000000000000000000000000000000000000000000000000000033360000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000666900000000000000000000000000000000000000000000000000000000000096680000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000056690000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000004669000000000000000000000000000000000000000000000000000000000000900200000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000002004000000000000000000000000000000000000000000000000000000000000499c0000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005003000000000000000000000000000000000000000000000000000000000000a0020000000000000000000000000000000000000000000000000000000000003cd0000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000002cd0000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006002000000000000000000000000000000000000000000000000000000000000a6680000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000083350000000000000000000000000000000000000000000000000000000000003003000000000000000000000000000000000000000000000000000000000000033700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000006ccf00000000000000000000000000000000000000000000000000000000000030030000000000000000000000000000000000000000000000000000000000000cd10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000599c000000000000000000000000000000000000000000000000000000000000d6670000000000000000000000000000000000000000000000000000000000004003000000000000000000000000000000000000000000000000000000000000400300000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000399d00000000000000000000000000000000000000000000000000000000000040030000000000000000000000000000000000000000000000000000000000005ccf000000000000000000000000000000000000000000000000000000000000899b000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000200400000000000000000000000000000000000000000000000000000000000060020000000000000000000000000000000000000000000000000000000000008335000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000005ccf0000000000000000000000000000000000000000000000000000000000008668000000000000000000000000000000000000000000000000000000000000299d00000000000000000000000000000000000000000000000000000000000020040000000000000000000000000000000000000000000000000000000000006669000000000000000000000000000000000000000000000000000000000000299d000000000000000000000000000000000000000000000000000000000000066a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000005336000000000000000000000000000000000000000000000000000000000000b3340000000000000000000000000000000000000000000000000000000000002cd000000000000000000000000000000000000000000000000000000000000040031e515c61946d54d12d9923f25e88e0bf9aba090722545038b1e2ac3640fe6cd316edeb2b712232256072094c4ea734b1ef5b6e32a0bb0d5c971d2fbe4501ae1416e0ea14667726b89497d7a7be21afa8abcf7a1b500d02a7fb4312aa34802ea3152d489af4cd5013b4c915ffdee65448e1f4bee82969a357b56a0e18770f4d902e385ecc545bf07e84882ee85aa32fb9beba5130e2e9484ec36e4768d2bca3192cf65002dbadecdcb22bafd0d72410192399a07d448e061c5bd745652653dea915406bd7e6e449195dc0b7a80daec7cbd104c64c5fc7e37e4217bf733511d5b502de309f12e27456251b14276af3b1ef55ed65196c3518889e09e5a3dda3d2981715c849c4fe724a602e82cc4a36a4bc587ebaa81a61a8d73f863fb9b462881527eeb178cce70e8c5438e49830cd6f8dd539008354c8e8a36d63bf12aa0970bb2b26580cf5310dfa9ff554716790615ef44d47f18d590acb450d8ab4afb74f5d17c95f8dabc06bdb7c22841df910d2cfb9c41b38f54b445e3bb69ae0dd06dcff00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000001c75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000005554000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000a002000000000000000000000000000000000000000000000000000000000000e667000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000c99a000000000000000000000000000000000000000000000000000000000000c667000000000000000000000000000000000000000000000000000000000000b001000000000000000000000000000000000000000000000000000000000000c99a0000000000000000000000000000000000000000000000000000000000009cce000000000000000000000000000000000000000000000000000000000000d001000000000000000000000000000000000000000000000000000000000000a668000000000000000000000000000000000000000000000000000000000000acce000000000000000000000000000000000000000000000000000000000000f667000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000ccce000000000000000000000000000000000000000000000000000000000000b334000000000000000000000000000000000000000000000000000000000000b6680000000000000000000000000000000000000000000000000000000000008ccf000000000000000000000000000000000000000000000000000000000000c334000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000080020000000000000000000000000000000000000000000000000000000000008002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000007ffe'\u001b[39m,\n", - " to: Promise { \u001b[32m'0x82e01223d51Eb87e16A03E24687EDF0F294da6f1'\u001b[39m },\n", - " from: \u001b[32m'0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec'\u001b[39m,\n", - " type: \u001b[33m2\u001b[39m,\n", - " maxFeePerGas: BigNumber { _hex: \u001b[32m'0x9502f900'\u001b[39m, _isBigNumber: \u001b[33mtrue\u001b[39m },\n", - " maxPriorityFeePerGas: BigNumber { _hex: \u001b[32m'0x9502f900'\u001b[39m, _isBigNumber: \u001b[33mtrue\u001b[39m },\n", - " nonce: Promise { \u001b[33m90\u001b[39m },\n", - " gasLimit: Promise { \u001b[36m\u001b[39m \u001b[36m[Circular *1]\u001b[39m },\n", - " chainId: Promise { \u001b[33m31337\u001b[39m }\n", - " }\n", - "}\n" + "10850.6\n" ] } ], @@ -401,7 +377,7 @@ { "cell_type": "code", "execution_count": 30, - "id": "accf916f", + "id": "932a6851", "metadata": {}, "outputs": [ { @@ -426,7 +402,7 @@ { "cell_type": "code", "execution_count": 31, - "id": "c477990f", + "id": "60cc9372", "metadata": {}, "outputs": [ { diff --git a/eth/keys/out_private.json b/eth/keys/out_private.json index bb5e50c..97795bd 100644 --- a/eth/keys/out_private.json +++ b/eth/keys/out_private.json @@ -1 +1 @@ -"21127377611760855151397025938040417124468957529580509010001250098001910171200" \ No newline at end of file +"13067374502387715197220828058756308644293824366507017842357977335304766462859" \ No newline at end of file diff --git a/eth/keys/out_public.json b/eth/keys/out_public.json index f4379d0..231d88f 100644 --- a/eth/keys/out_public.json +++ b/eth/keys/out_public.json @@ -1,4 +1,4 @@ [ - "19517200380561602233013947304080897707587995089006775240619814703482168364893", - "10758991262778566768807205545860719510109920355369254969648901060785189870847" + "8385930133524036559273104048419821016491875134467519785353152799140128167921", + "17155255312018438018746349179262607517493307326242830912102091150670145263900" ] \ No newline at end of file diff --git a/eth/model_shuffled/W.npy b/eth/model_shuffled/W.npy index 735a8d9..bbf4bfc 100644 Binary files a/eth/model_shuffled/W.npy and b/eth/model_shuffled/W.npy differ