package aggregator.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service AggregatorService

aggregator.proto:17

* Define all methods implementes by the gRPC Channel: prover receives aggregator messages and returns prover messages with the same id

message CancelRequest

aggregator.proto:95

* @dev CancelRequest @param {id} - identifier of the proof request to cancel

Used in: AggregatorMessage

message CancelResponse

aggregator.proto:204

* @dev CancelResponse @param {result} - request result

Used in: ProverMessage

message FinalProof

aggregator.proto:246

@dev FinalProof @param {proof} - groth16 proof @param {public} - public circuit inputs

Used in: GetProofResponse

message GenAggregatedProofRequest

aggregator.proto:76

* @dev GenAggregatedProofRequest @param {recursive_proof_1} - proof json of the first batch to aggregate @param {recursive_proof_2} - proof json of the second batch to aggregate

Used in: AggregatorMessage

message GenAggregatedProofResponse

aggregator.proto:185

* @dev GenAggregatedProofResponse @param {id} - proof identifier, to be used in GetProofRequest() @param {result} - request result

Used in: ProverMessage

message GenBatchProofRequest

aggregator.proto:63

* @dev GenBatchProofRequest @param {input} - input prover

Used in: AggregatorMessage

message GenBatchProofResponse

aggregator.proto:175

* @dev GenBatchProofResponse @param {id} - proof identifier, to be used in GetProofRequest() @param {result} - request result

Used in: ProverMessage

message GenFinalProofRequest

aggregator.proto:86

* @dev GenFinalProofRequest @param {recursive_proof} - proof json of the batch or aggregated proof to finalise @param {aggregator_addr} - address of the aggregator

Used in: AggregatorMessage

message GenFinalProofResponse

aggregator.proto:195

* @dev Response GenFinalProof @param {id} - proof identifier, to be used in GetProofRequest() @param {result} - request result

Used in: ProverMessage

message GenStatelessBatchProofRequest

aggregator.proto:67

Used in: AggregatorMessage

message GetProofRequest

aggregator.proto:104

* @dev Request GetProof @param {id} - proof identifier of the proof request @param {timeout} - time to wait until the service responds

Used in: AggregatorMessage

message GetProofResponse

aggregator.proto:222

* @dev GetProofResponse @param {id} - proof identifier @param {final_proof} - groth16 proof + public circuit inputs @param {recursive_proof} - recursive proof json @param {result} - proof result - COMPLETED_OK: proof has been computed successfully and it is valid - ERROR: request error - COMPLETED_ERROR: proof has been computed successfully and it is not valid - PENDING: proof is being computed - INTERNAL_ERROR: server error during proof computation - CANCEL: proof has been cancelled @param {result_string} - extends result information

Used in: ProverMessage

enum GetProofResponse.Result

aggregator.proto:223

Used in: GetProofResponse

message GetStatusRequest

aggregator.proto:57

* @dev GetStatusRequest

Used in: AggregatorMessage

(message has no fields)

message GetStatusResponse

aggregator.proto:133

* @dev Response GetStatus @param {status} - server status - BOOTING: being ready to compute proofs - COMPUTING: busy computing a proof - IDLE: waiting for a proof to compute - HALT: stop @param {last_computed_request_id} - last proof identifier that has been computed @param {last_computed_end_time} - last proof timestamp when it was finished @param {current_computing_request_id} - id of the proof that is being computed @param {current_computing_start_time} - timestamp when the proof that is being computed started @param {version_proto} - .proto verion @param {version_server} - server version @param {pending_request_queue_ids} - list of identifierss of proof requests that are in the pending queue @param {prover_name} - id of this prover server, normally specified via config.json, or UNSPECIFIED otherwise; it does not change if prover reboots @param {prover_id} - id of this prover instance or reboot; it changes if prover reboots; it is a UUID, automatically generated during the initialization @param {number_of_cores} - number of cores in the system where the prover is running @param {total_memory} - total memory in the system where the prover is running @param {free_memory} - free memory in the system where the prover is running

Used in: ProverMessage

enum GetStatusResponse.Status

aggregator.proto:134

Used in: GetStatusResponse

message InputProver

aggregator.proto:303

* @dev InputProver @param {public_inputs} - public inputs @param {db} - database containing all key-values in smt matching the old state root @param {contracts_bytecode} - key is the hash(contractBytecode), value is the bytecode itself

Used in: GenBatchProofRequest

message L1Data

aggregator.proto:290

l1InfoTree leaf values

Used in: PublicInputs, StatelessPublicInputs

message PublicInputs

aggregator.proto:262

@dev PublicInputs @param {old_state_root} @param {old_acc_input_hash} @param {old_batch_num} @param {chain_id} @param {batch_l2_data} @param {global_exit_root} @param {sequencer_addr} @param {aggregator_addr}

Used in: InputProver, PublicInputsExtended

message PublicInputsExtended

aggregator.proto:321

* @dev PublicInputsExtended @param {public_inputs} - public inputs @param {new_state_root} - final state root. Used as a sanity check. @param {new_acc_input_hash} - final accumulate input hash. Used as a sanity check. @param {new_local_exit_root} - new local exit root. Used as a sanity check. @param {new_batch_num} - final num batch. Used as a sanity check.

Used in: FinalProof

enum Result

aggregator.proto:163

* @dev Result - OK: succesfully completed - ERROR: request is not correct, i.e. input data is wrong - INTERNAL_ERROR: internal server error when delivering the response

Used in: CancelResponse, GenAggregatedProofResponse, GenBatchProofResponse, GenFinalProofResponse

message StatelessInputProver

aggregator.proto:309

Used in: GenStatelessBatchProofRequest

message StatelessPublicInputs

aggregator.proto:277

Used in: StatelessInputProver

message Version

aggregator.proto:7