Skip to content

feat(L2): add basic proof data provider#585

Merged
ilitteri merged 45 commits into
mainfrom
l2_proof_data_provider
Oct 1, 2024
Merged

feat(L2): add basic proof data provider#585
ilitteri merged 45 commits into
mainfrom
l2_proof_data_provider

Conversation

@ManuelBilbao

@ManuelBilbao ManuelBilbao commented Sep 30, 2024

Copy link
Copy Markdown
Contributor

Motivation

We need to have a ProofDataProvider that serves as an interface to communicate with the prover.

Description

The ProofDataProvider listen 2 types of messages: ProofData Requests and ProofData Submits. The first ones are asked by the prover to start a new proof job. The second one is used by the prover to inform that the proof generation is ready.

ilitteri added 30 commits September 25, 2024 15:55
- `l1_tx_sender.rs` is the module that contains the logic for the L1TxSender, component of the operator in charge of sending transactions to L1, these are: commit and verify txs.
- `l1_watcher.rs` is the module that contains the logic for the L1Watcher, component of the operator that listens to specific L1 events and executes txs on L2 based on said events.
- The `prover` module is empty for the moment, but it'll contain the logic for getting proof data for block proof generation, and final proof submission.
@ManuelBilbao ManuelBilbao changed the title feat(L2): Add basic proof data provider feat(L2): add basic proof data provider Sep 30, 2024
@ManuelBilbao ManuelBilbao marked this pull request as ready for review September 30, 2024 14:32
@ManuelBilbao ManuelBilbao requested a review from a team as a code owner September 30, 2024 14:32

@ilitteri ilitteri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from ethereum_rust_l2_scaffolding to main September 30, 2024 20:05
@ilitteri ilitteri enabled auto-merge October 1, 2024 17:55
@ilitteri ilitteri added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 9bfea45 Oct 1, 2024
@ilitteri ilitteri deleted the l2_proof_data_provider branch October 1, 2024 18:03
mpaulucci pushed a commit that referenced this pull request Oct 16, 2024
**Motivation**

We need to have a ProofDataProvider that serves as an interface to
communicate with the prover.
<!-- Why does this pull request exist? What are its goals? -->

**Description**

The ProofDataProvider listen 2 types of messages: ProofData Requests and
ProofData Submits. The first ones are asked by the prover to start a new
proof job. The second one is used by the prover to inform that the proof
generation is ready.
<!-- A clear and concise general description of the changes this PR
introduces -->

<!-- Link to issues: Resolves #111, Resolves #222 -->

---------

Co-authored-by: ilitteri <ilitteri@fi.uba.ar>
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

Successfully merging this pull request may close these issues.

2 participants