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

feat(l2): multiple provers in file #1477

Open
wants to merge 32 commits into
base: l2/multiple_provers
Choose a base branch
from

Conversation

fborello-lambda
Copy link
Contributor

@fborello-lambda fborello-lambda commented Dec 11, 2024

Motivation

To support multiple proving systems, we may want to store the proofs and wait to have all the needed information to send the transaction to the L1 and verify them on chain.

In the previous PR (#1466) a HashMap was proposed to store the proofs in memory, a more robust solution is needed in case the L2 node goes down. In order to avoid re-execution, the proofs can be saved in files.

Description

  • Add a module that stores the proofs in files.
  • Instead of saving the proofs in a HashMap save them in files with the help of the module.

Closes #1060

@fborello-lambda fborello-lambda self-assigned this Dec 11, 2024
@fborello-lambda fborello-lambda force-pushed the l2/multiple_provers_in_file branch from a4f2032 to 992191a Compare December 12, 2024 15:20
@fborello-lambda fborello-lambda marked this pull request as ready for review December 12, 2024 21:03
@fborello-lambda fborello-lambda requested a review from a team as a code owner December 12, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant