Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyze reshare data #352

Open
bakhshandeh opened this issue Oct 30, 2023 · 4 comments
Open

Analyze reshare data #352

bakhshandeh opened this issue Oct 30, 2023 · 4 comments
Assignees

Comments

@bakhshandeh
Copy link
Member

We should analyze reshare data to see how stable is.

These data should be collected:

  • context timestamps
  • Failed reshares
  • Number of shareproofs
@bakhshandeh
Copy link
Member Author

Let’s collect data on client side or on one of the nodes.

@bakhshandeh bakhshandeh changed the title Analyze reshape data Analyze reshare data Oct 30, 2023
@bakhshandeh
Copy link
Member Author

Logs on ALICE:
[{"timestamp":1698644916845,"leader":"1","appInfo":{"appName":"tss3","seed":"0xb74eb92bc450d9b52a99b5409ecc2234172b08797a314b9730e102d695ea40f4"},"error":{"message":"gateway timed out."}},{"timestamp":1698644811760,"leader":"1","appInfo":{"appName":"tss3","seed":"0xb74eb92bc450d9b52a99b5409ecc2234172b08797a314b9730e102d695ea40f4"},"error":{"message":"gateway timed out."}},{"timestamp":1698590986677,"leader":"1","appInfo":{"appName":"simple_oracle","seed":"0x614c09a39e0012a92c222657b9b85df65ff17d479004d1be4a41e549479ff1b0"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"55248038324285368712633359989377918216711324138169494581107010692219814301235","previousSeed":"0x614c09a39e0012a92c222657b9b85df65ff17d479004d1be4a41e549479ff1b0","seed":{"value":"0x85fbbe03b8e132ecdb7cc20fa9b3f1cfe1ceef92fd423513622ceefa626ff981","reqId":"0x6cfdec9c5fbd2932720f35f13f659d9c1ca0ea8061f81dc75455352b7c9543db","nonce":"0x2a6BaaCfB12E2125BC76B1f517Cb158b42D66091"},"leaderSignature":"0x29ad76a4f41f368a2e22ccf2a8eb43f4a361606526763a3b7b2998bd1c97b5d83b4927fcc56f81bf7111876973ddbce7cd8795ebcddf6d5a7f2b0584ee01f4091b"}},"responses":["0x8705adc9be13e91cbb3bc5f1675347ec2b58c6014bbf671492837cec07f6fd133ab515021b6d90c53554cd91dfd5c4e048e329b237a3d5665c5251a70ec41557"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590981689,"leader":"1","appInfo":{"appName":"dibs","seed":"0x23aa8ae1e26d38bfb2ab230f8aa13248cf690ee4c8c1053d489fe769431a4880"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"29503600283749605679892442018301974903747905228367523023427374612996254935333","previousSeed":"0x23aa8ae1e26d38bfb2ab230f8aa13248cf690ee4c8c1053d489fe769431a4880","seed":{"value":"0x31c8bcaac59c6cf5b563a7865b13f1ec4b17152b4b8572d9d4963e6582baaa8c","reqId":"0xffcc6fb7c6a2bf3f178730e63c35432647a004622195cb6150d1113d44211548","nonce":"0x609aE22b6777CB5F55a51e0e0280bBbdaC6663db"},"leaderSignature":"0x4fa01ad004a63eb81445bd4923f6ab800a9bd727bc78522757da1c5790bde1413f7776727a0e8fd281957d67ba9c18c7fb0f09e7bda14482018e093a901b62c91b"}},"responses":["0x23d59a914f3d08031108ad1a86eff56c262566ce06d1f9be520eb64b0f49cd444a39ec7292e0b165dc9ee2ccb9ee85b92dd716d08fae6d5ec3e6bb5e83c8ca61"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590977869,"leader":"1","appInfo":{"appName":"tss3","seed":"0xe5366bb51825bdf758754d88fceba80f10a5215fe4bd37dd27cf62662fbb19bb"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"random-seed","params":{"appId":"83200056970961471527758758399244578896143724005015522560743932502064507921864","previousSeed":"0xe5366bb51825bdf758754d88fceba80f10a5215fe4bd37dd27cf62662fbb19bb"}},"responses":["0x2de1a1dee94b555627454c5e2754a371af478a7880a502e94805e7469e70da1b97e3fc1d54433759843b89ec3f8a1f02559cb48d2a446db76bac888f58529023"],"errors":[{"message":"App already deployed","onRemoteSide":true},{"message":"App already deployed","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590977629,"leader":"1","appInfo":{"appName":"tss2","seed":"0xc0f20203688efbca8938d32c5752f00897b4f2a9098350731f6f9b21dccc5626"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"random-seed","params":{"appId":"55498094071632220612009419767298550931185790434667857419833104736586876025588","previousSeed":"0xc0f20203688efbca8938d32c5752f00897b4f2a9098350731f6f9b21dccc5626"}},"responses":["0xa6d16a8796898188b6be333464db0ac39b98e21f94188275058a9f62ee7a1eed4ba539a680f0d9f51ab00e80535edd28e4808a978e8017994f8b063bc7af6552"],"errors":[{"message":"App already deployed","onRemoteSide":true},{"message":"App already deployed","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590974610,"leader":"1","appInfo":{"appName":"tss","seed":"0x928171a7e342da6331bae12c9f269aa01f33b3dbcf3ee33b0991730cce2ad24b"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"45810160343022089601028851206408642627529628329831086458846511772841706178168","previousSeed":"0x928171a7e342da6331bae12c9f269aa01f33b3dbcf3ee33b0991730cce2ad24b","seed":{"value":"0xda834d36d0b3d5b26cbd5c51753cade7c10e5c06a60fbb850cdb76214ecd3813","reqId":"0x03abd38fb3920f8c0d39fab37d7ae0da5e360371f6595657ddbab3e17a470734","nonce":"0xc71a7ac3D8984679EaaCDd6Fa7161211D01A4Da1"},"leaderSignature":"0x1e1d2a14389e2785c777d8cfac274edd3c44fa5e6c76573dc224fa42a499e15d25528a5820f69883bb7c7c08016da59c56df0dcb8a869cde45f323bcb610957e1b"}},"responses":["0xd00a8f01be0cce33961d39256b345d348adede46fbdc015bd5efd0a84db65973c2f4dd956be6611166264b409da161a727e38c8356e150f9840e33296c0ff1f6"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590974382,"leader":"1","appInfo":{"appName":"dibsGlobal","seed":"0xb12b53e1a211f400d7fc9ce9ab3ecd5fb5ed0e70780a010b3e147cffea92027c"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"29996138867610942848855832240712459333931278134263772663951800460922233661812","previousSeed":"0xb12b53e1a211f400d7fc9ce9ab3ecd5fb5ed0e70780a010b3e147cffea92027c","seed":{"value":"0x924cd4e9f0682bfe7610d6a51a4da029f89ec8ea80e3b47f4fe1ccc80eb588ff","reqId":"0x42bd5cef86926527130ab4831c9ef72f5e80608bbe914eb5c4f27c9ac271f488","nonce":"0xd1e56a1d4425936f95b272944Db40d53b907CbA3"},"leaderSignature":"0x947f463e8fa24882bad31f02fbaa271df2483025674906db46d3466785ea591353d77a7df9d7f4bdb61665b58d1eebafe00498c27ba2c0a0112175b145cbc43e1c"}},"responses":["0x40a9038941242a7c13a005646ac35ef99ea6d1499638e62e7e1f0b0182d754519967dc4aefccfc17bdf0317f3239eb36ffc50ea810137639247a4a9b36d308dd"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590974153,"leader":"1","appInfo":{"appName":"v3_oracle","seed":"0x9994a2589e31f6b51fd7ddcbbbccd47c468eb6d0238d65b768d56f02de310e8e"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"69875788779311265554167953794654152906652437073899252054261266972071305958835","previousSeed":"0x9994a2589e31f6b51fd7ddcbbbccd47c468eb6d0238d65b768d56f02de310e8e","seed":{"value":"0x9e85b0929e11a3948563ce3e4af26ad66aee251038ea3e76eaf104ce46ef750e","reqId":"0x22d4a785a324bcb663ceb24edc83eea2790703e5704e249e0c7496cc523ec7d0","nonce":"0xAAb3A86C4CF96aF3A6432a04ceE9fF7D5E6B3271"},"leaderSignature":"0x4301e15fb71a48e6d5e9f407041be6475c0cc068eb044a6268e6ad9853b5ef646b91c48e40d4daad3aa95dea7f85a8a3dcd6861c49f3e98eb35713684cf9c1d11c"}},"responses":["0xdf74a153f9dd04ef23117ad34c2e098e2501aa363af7b500b9476506b2a99bda0a5cfc555547d42c9da853748a2f86e65bc285bea2292a25776cca371d186d07"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590963597,"leader":"1","appInfo":{"appName":"twaper","seed":"0x8f0457c8cc3882f8e3c289a0648a703039a5089acfc945146c0d2a4131b654ce"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"4235674645294935513828530749343108731671539155305792113046250148823270483942","previousSeed":"0x8f0457c8cc3882f8e3c289a0648a703039a5089acfc945146c0d2a4131b654ce","seed":{"value":"0x6c37009b0f32f8ae1aa47be90610e0e6ddeb9f26376add0a4e9d460ecbe0f43c","reqId":"0x999d64fadd57dd4e0444a72d3541b11240f0327a1f1e39c2aa93d4bd9e5e6218","nonce":"0x1812f6D1434eb6370dA4372524f4fe816f832d57"},"leaderSignature":"0x2e4d57f53bc7bd843dfe4ca8fa9e157e703e1213a443fb916a003e949a13ff850809aea691a62de1b9cd8ef897d733597f5cbf0c3228dded69e07f6f53d6624a1c"}},"responses":["0x29b1263b488d5b28c8457d1bb4a9f2950a527bcbab7c1e082af7d5855b34b392728f553b63ef0c9b3d4a8034f7180318adf91bc8ba744abaa09e735f9bd86362"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590912305,"leader":"1","appInfo":{"appName":"simple_oracle","seed":"0x614c09a39e0012a92c222657b9b85df65ff17d479004d1be4a41e549479ff1b0"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"55248038324285368712633359989377918216711324138169494581107010692219814301235","previousSeed":"0x614c09a39e0012a92c222657b9b85df65ff17d479004d1be4a41e549479ff1b0","seed":{"value":"0xecc3daff09211d90edf8c0966b4ae5eb73db41fb0670c2cb3d3b51c947c13c10","reqId":"0x1b96ca721f208251c08b352dc8e3d538fa74eaff23a2473488b5aeefa8d46ef5","nonce":"0x2553faA592456fDe480Cdd2830D97bc79271edfc"},"leaderSignature":"0x851f800d5c33e77d65d0528e4a27d4dfb86adc6f7b47f0e77e1926ef2060c2940a8093799515a21dc7949e6312745373158a10098a00caaa6c0bea49970431641b"}},"responses":["0x64aadca201edaa8fbea9d11e5105db6539e572868fa37ddefb075bfeab5f4403f2c8fcfc99552d0b916dbc4620315ebe805d76ccb26c1c471e26c11a8cda6e04"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590900205,"leader":"1","appInfo":{"appName":"dibs","seed":"0x23aa8ae1e26d38bfb2ab230f8aa13248cf690ee4c8c1053d489fe769431a4880"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"29503600283749605679892442018301974903747905228367523023427374612996254935333","previousSeed":"0x23aa8ae1e26d38bfb2ab230f8aa13248cf690ee4c8c1053d489fe769431a4880","seed":{"value":"0x2e21292bde34f72810c01a5cea300c04f7625e7900be1245d57e6358f6ce9e31","reqId":"0x68c985d5f9821306ca5bfc79d7197cd863d4796aec0039c64f48e217c7be1bd2","nonce":"0x51Ef8b81267E402a54cCff4573147405BAAb2aFE"},"leaderSignature":"0x5adee635bb1b50bd396405970cbf44ef00bccef1ca8cc739ac31552b57abd0e1412fc4c3cc49b0b6fe943b599f8e828ad77fb4475127ecae6de5d8cab190b0f01b"}},"responses":["0x55ca422c5156c665d534e9c6f1711cdd60bb7a2f5ffe45ccbefbe447755f9d7abc2a2fc4f9920be8d1c841599eb6eedd29e0506ceba7f4d6a0b9aedd1ce57161"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590899704,"leader":"1","appInfo":{"appName":"tss3","seed":"0xe5366bb51825bdf758754d88fceba80f10a5215fe4bd37dd27cf62662fbb19bb"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"random-seed","params":{"appId":"83200056970961471527758758399244578896143724005015522560743932502064507921864","previousSeed":"0xe5366bb51825bdf758754d88fceba80f10a5215fe4bd37dd27cf62662fbb19bb"}},"responses":["0x1d2634eccf16535911fb58d4d61323afb9e01320830b3dc8fc218b82f9a2d92825cbe8b15f3ccf13fd1fa80591ae24c9a4e8afb5e10363f72d8860e5351d02df"],"errors":[{"message":"App already deployed","onRemoteSide":true},{"message":"App already deployed","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590899591,"leader":"1","appInfo":{"appName":"dibsGlobal","seed":"0xb12b53e1a211f400d7fc9ce9ab3ecd5fb5ed0e70780a010b3e147cffea92027c"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"29996138867610942848855832240712459333931278134263772663951800460922233661812","previousSeed":"0xb12b53e1a211f400d7fc9ce9ab3ecd5fb5ed0e70780a010b3e147cffea92027c","seed":{"value":"0x6ffab90424e6494d3d9e3120fb1e791024adea310665dea435c5d88de7ad7ffc","reqId":"0x7bdf6127dec96ce5fd5649479361358099f3b5ca9b752cccf4330ad5dde9dc1d","nonce":"0x84DCc6b2920f74FF2D47b9bd84B97b8fEb5E8423"},"leaderSignature":"0xcc3d80f541ec33c0b47274eb309545b21fdc48c654dc13c14457e0bb2afd68e463b2b73d4860b4d676557de9cf5551f26b440c2fcbc007287959feac77ad5a251c"}},"responses":["0x80636287aa140fd98c06f4f930ea4d3a55ccf495d6d65551196dead88d1ea251e4d6f5cda517edf935a16f84aa53a318eaaa8aa99bc1c9e092ebf413b4a14d85"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590899365,"leader":"1","appInfo":{"appName":"tss2","seed":"0xc0f20203688efbca8938d32c5752f00897b4f2a9098350731f6f9b21dccc5626"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"random-seed","params":{"appId":"55498094071632220612009419767298550931185790434667857419833104736586876025588","previousSeed":"0xc0f20203688efbca8938d32c5752f00897b4f2a9098350731f6f9b21dccc5626"}},"responses":["0x66288d7edcdb6d45f127ca66a7f455aa4ea011db7469b1eea13bf26ec28b8ac6fd08935e8c01555c712f55dad16a4a808e3e0431a7f7bf877475b49b37e65a78"],"errors":[{"message":"App already deployed","onRemoteSide":true},{"message":"App already deployed","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590896587,"leader":"1","appInfo":{"appName":"v3_oracle","seed":"0x9994a2589e31f6b51fd7ddcbbbccd47c468eb6d0238d65b768d56f02de310e8e"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"69875788779311265554167953794654152906652437073899252054261266972071305958835","previousSeed":"0x9994a2589e31f6b51fd7ddcbbbccd47c468eb6d0238d65b768d56f02de310e8e","seed":{"value":"0xe2477a1405db90e5e07dc08eda3d35414a44a3debc730d389f720cf20e12ca53","reqId":"0x9c8964bbf29b1d160b72804240635251236c018de9c4ce4e431d3a8c79acbd10","nonce":"0xb9d8Fa72586C3FC3168564cFc8E1df07157De17f"},"leaderSignature":"0xcca8588e540a02277713f187190a3f32b558d1f0a9c74a71766bfa479df0f399456fb59242e4f14e5d86b4ccb4cbd381fc970223a53cb77aef3c5ebbbc7168fe1c"}},"responses":["0xf10d193fb535d0f89e547c62f1091450fd461165dc5311280f3b6bfb9ac53d4f8f22ad9f45b3be28313fd360498e6d70ea0448fb7f4c768435fd40ad59c937d2"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590896191,"leader":"1","appInfo":{"appName":"tss","seed":"0x928171a7e342da6331bae12c9f269aa01f33b3dbcf3ee33b0991730cce2ad24b"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"45810160343022089601028851206408642627529628329831086458846511772841706178168","previousSeed":"0x928171a7e342da6331bae12c9f269aa01f33b3dbcf3ee33b0991730cce2ad24b","seed":{"value":"0xe2fdd7228ad4ec94bdf406d6d77172996bb432b864da8befd54c1f73ebc93dd7","reqId":"0x05c77d19f22f517557c90d87ec768a8403c7188c4a2361f11547fded6f129be2","nonce":"0x88C6d54843ed5B5Eb485f511f5b0AD903d1cE47b"},"leaderSignature":"0xe61ccd5f6c9936cc3671487c3c8512598dfb00c549e8bee8a4b874add30b35dd36769d080be1c2dec2ff12544ef1c9113b2455d58ad74dfa5d769c166c780f6e1b"}},"responses":["0x0856a12ee6526cee22e2842fe5805f2caefec8878c104ef0faaacfe83a9213348817a67c6774e9bf878c3c35fc4d2f179ed3406e5b64f5b6928550bcce8c5aeb"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}},{"timestamp":1698590885906,"leader":"1","appInfo":{"appName":"twaper","seed":"0x8f0457c8cc3882f8e3c289a0648a703039a5089acfc945146c0d2a4131b654ce"},"error":{"message":"Request failed to confirm.","data":{"app":{"name":"deployment","method":"reshare","params":{"appId":"4235674645294935513828530749343108731671539155305792113046250148823270483942","previousSeed":"0x8f0457c8cc3882f8e3c289a0648a703039a5089acfc945146c0d2a4131b654ce","seed":{"value":"0x67ec153d4ad36dca9e705142e4394924ed3feac4d1474f0f0fbb33bcc363a876","reqId":"0xf0a0a2545b3bc2144fe8423ac844416d0856c8dd0f1f4aad44a689a2e52effc0","nonce":"0x102B9b2185dE99577ae531ABdb6A9D5831263EE4"},"leaderSignature":"0xa0382aa3fa703765a4c1c7160e8cc05d87e23391fc817c5f5c74dd86da1024572e19c64af6343150ad8b6347d819bcf134c79e209766141166d042c99af11c451b"}},"responses":["0x180155ec7921905c1a6d01527b6723588d320aa4fb67fed8ced24cc3571b44c4dfa76473e9e10c6aebbcad224934db8a13200a77b62fcb3282546b1470f507a7"],"errors":[{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true},{"message":"App previous context not found on the deployment app's validateRequest method","onRemoteSide":true}]},"onRemoteSide":true}}]

@bakhshandeh
Copy link
Member Author

Errors:

"message": "gateway timed out." -- 2 times
It is a valid error. gateway is not available to run keygen.

"message": "App already deployed -- 4 times
This can happen when leader is not synced and want to reshare a context that is already reshared.

"App previous context not found on the deployment app's validateRequest method" -- 12 times
This is suspicious. Need to be checked more

@bakhshandeh
Copy link
Member Author

"message": "App already deployed -- 4 times This can happen when leader is not synced and want to reshare a context that is already reshared.

"App previous context not found on the deployment app's validateRequest method" -- 12 times This is suspicious. Need to be checked more

It was bc of an issue on db-sync.
Fixed on this commit:
42ebeef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants