Open ctrlc03 opened 11 months ago
Not planned for now
I was monitoring this issue because I wanted to contribute, but it suddenly got closed. Could you let me know why it was closed?
I can reopen if you want to contribute.
Thank you! I found a similar issue in a repository named 'DefinitelySetup' (https://github.com/privacy-scaling-explorations/DefinitelySetup/issues/97). Should I work on DefinitelySetup since it involves on-browser contributions?
This would need changes to the backend. They should happen in p0tion (backend package). Browser-based front-end changes will be in DefinitelySetup.
Problem
Currently it is not possible to contribute to large circuits > 1M constrains on a browser due to memory restrictions. For that, we use a cli tool instead where we can use the full computing power of a machine.
Possible solution
Pipelining the contribution of a user.
Flow:
By processing the computation on one chunk at a time, we can effectively reduce the memory consumption as we do not need to hold the whole file in memory at all times. This could possibly allow even larger contributions on a mobile phone's browser.
What we would need to change