-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Testnet] Deploy prover server on cloud #4
Comments
Note: Need to figure out how does the prover server generate proof from witnesses it seems that the prover server is not included in the local setup |
We will need the server to run a witness generator for generating prover jobs, it will require the user to do So my might run it solely with |
For the prover, from the default config settings we can see they only let the CPU prover runs 2 types of circuits (total is 19), guessing to run a circuit is a pretty heavy operation. Therefore in the config file, it divides the prover into several groups. the formula is comment in the code:
So I guess we will need a 512RAM aws instance to be able to run a single CPU prover. |
To be able to feed the prover with the assembly, we need to "circuit_synthetizer" The flow is the following
Note1: The "circuit_synthetizer" seems to fetch using gcp for now instead of DB (maybe a way to change the behavior through config) Note2: We need to run multiple "circuit_synthetizer" and "prover_server" for each group ids
|
to run circuit_synthesizer, we can use this command
|
I think the circuit_synthetizer fetches data from the
|
I think it uses two things the DB for synchronizing the jobs (as you mention and an object store which use the following config
FileBacked means it is probably stored locally but since we are going to run the prover + synthetizer in another machine than the zkserver (+witness generator) it may not works |
We may need to implement the objectStore for Amazon S3 if we stick to Amazon cloud infra. |
we can add the implementation of aws object store there https://github.com/matter-labs/zksync-era/tree/main/core/lib/object_store/src It has to impl the interface ObjectStore |
working on S3 ObjectStore implementation |
Will deploy new prover instead of the current prover setup |
Investigate how to build and run the prover server
Reference
https://docs.google.com/document/d/1xoB126DpqH0DTZU16FAEiKQvfk_qo6Rha74lsDnKqIA/edit
The document explain how to run it but it does not seems to be connected to the zk server
The text was updated successfully, but these errors were encountered: