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

cherry-pick: Synchronized inform field state.batch.closing_reason from DB #3366

Conversation

joanestebanr
Copy link
Contributor

@joanestebanr joanestebanr commented Feb 26, 2024

Close #3243
original PR: #3245

The field state.batch.closing_reason is use by sequencer to report the reason that close this batch. Make sense that syncrhonizer when close a batch also report this value.

The suggested values are:

  • Sync: genesis : Batch genesis
  • Sync L1: sequenced : a batch have been created and closed due a sequencedBatch event
  • Sync L1: injected injected batch (update etrog batch event)
  • Sync L2: trusted : a batch synchronized from TrustedNodeAnd so on....
    And so on....

What does this PR do?

Reviewers

Main reviewers:

Codeowner reviewers:

  • @-Alice
  • @-Bob

* decode old ETROG processBatches use ETROG contract
* fix sanity genesis
@joanestebanr joanestebanr linked an issue Feb 26, 2024 that may be closed by this pull request
@joanestebanr joanestebanr merged commit f08d413 into release/v0.6.1 Feb 26, 2024
16 checks passed
@joanestebanr joanestebanr deleted the feature/cherry-pick-3243-sync_add_closing_reason_to_batch_table branch February 26, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Synchronized inform field state.batch.closing_reason from DB
2 participants