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(node-framework): Add reorg detector #1551

Merged
merged 7 commits into from
Jun 3, 2024
Merged

Conversation

AnastasiiaVashchuk
Copy link
Contributor

@AnastasiiaVashchuk AnastasiiaVashchuk commented Apr 2, 2024

What ❔

  • Implement ReorgDetectorCheckerLayer, which adds a CheckerPrecondition precondition to monitor reorgs.
  • Implement ReorgDetectorRunnerLayer, which adds a RunnerUnconstrainedOneshotTask to detect and fix reorgs(reverting blocks).
  • Implement block reverter Resource.

Why ❔

These changes are a part of the system porting process to the framework.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.
  • Spellcheck has been run via zk spellcheck.
  • Linkcheck has been run via zk linkcheck.

@AnastasiiaVashchuk AnastasiiaVashchuk force-pushed the anastasiia-port-reorg-detector branch from 2d10a48 to 636af2b Compare May 2, 2024 17:21
@AnastasiiaVashchuk AnastasiiaVashchuk marked this pull request as ready for review May 2, 2024 17:35
@AnastasiiaVashchuk AnastasiiaVashchuk requested review from popzxc and removed request for popzxc May 2, 2024 17:35
@AnastasiiaVashchuk AnastasiiaVashchuk requested a review from popzxc May 14, 2024 13:36
@popzxc popzxc added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit 7c7d352 Jun 3, 2024
44 checks passed
@popzxc popzxc deleted the anastasiia-port-reorg-detector branch June 3, 2024 10:55
github-merge-queue bot pushed a commit that referenced this pull request Jun 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[24.7.0](core-v24.6.0...core-v24.7.0)
(2024-06-03)


### Features

* **node-framework:** Add reorg detector
([#1551](#1551))
([7c7d352](7c7d352))


### Bug Fixes

* **block-reverter:** Fix reverting snapshot files
([#2064](#2064))
([17a7e78](17a7e78))
* **env:** Do not print stacktrace for locate workspace
([#2111](#2111))
([5f2677f](5f2677f))
* **eth-watch:** make assert less strict
([#2129](#2129))
([e9bab95](e9bab95))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: zksync-era-bot <[email protected]>
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