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

Feature/#3544 sync block protection #3545

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

ARR552
Copy link
Contributor

@ARR552 ARR552 commented Apr 8, 2024

Closes #3544

What does this PR do?

Adds the ability to specify the sync point using latest, finalized and safe tags

Reviewers

@ARR552 ARR552 requested a review from joanestebanr April 8, 2024 10:03
@cla-bot cla-bot bot added the cla-signed label Apr 8, 2024
@ARR552 ARR552 changed the base branch from develop to release/v0.6.5 April 8, 2024 10:04
@ARR552 ARR552 merged commit 6ca0464 into release/v0.6.5 Apr 8, 2024
16 checks passed
@ARR552 ARR552 deleted the feature/#3544_syncBlockProtection branch April 8, 2024 11:14
ARR552 added a commit that referenced this pull request Apr 9, 2024
* SyncBlockProtection parameter

* linter

* config

* Fix unit test
ARR552 added a commit that referenced this pull request Apr 9, 2024
* Feature/#3544 sync block protection (#3545)

* SyncBlockProtection parameter

* linter

* config

* Fix unit test

* safe mode by default (#3547)

* safe mode by default

* doc
@agnusmor agnusmor added this to the v0.6.5 milestone Apr 9, 2024
Stefan-Ethernal pushed a commit to 0xPolygon/cdk-validium-node that referenced this pull request Apr 10, 2024
)

* SyncBlockProtection parameter

* linter

* config

* Fix unit test
Stefan-Ethernal added a commit to 0xPolygon/cdk-validium-node that referenced this pull request Apr 10, 2024
* fix tx index calculation on receipt (0xPolygonHermez#3488)

* fix debug trace to compute egp percentage based on tx execution values (0xPolygonHermez#3503)

* fix debug trace to compute egp percentage based on tx execution values

* fix trace egp percentage for injected tx

* sort logs by tx hash and then by log index (0xPolygonHermez#3476)

* * Fix ResetL1InfoRoot + typos

* mocks

* linter

* refactor

* more robust

* Fix comments

* Add extra check reorg after calling get information

* Fix non e2e test

* Feature/3518 use generic eth client for l2 (0xPolygonHermez#3519)

* 0xPolygonHermez#3518 compatibility with ethereum-API L2 node
* migrate docker-compose to v2 because ubuntu:latest have deprecated it
* fix case trusted URL is not set

* fix deltaTimeStamp and TimestampLimit for eth_call (0xPolygonHermez#3529)

* Stop syncing l1inforoot when invalid l1inforoot is detected (0xPolygonHermez#3542)

* stop syncing l1inforoot when invalid l1inforoot is detected

* fix linter

* Feature/0xPolygonHermez#3544 sync block protection (0xPolygonHermez#3545)

* SyncBlockProtection parameter

* linter

* config

* Fix unit test

* add column checked on state.block (0xPolygonHermez#3543)

* add column checked on state.block

* if no unchecked blocks  return ErrNotFound

* migration set to checked all but the block with number below max-1000

* safe mode by default (0xPolygonHermez#3547)

* safe mode by default

* doc

* update docs

* Update the diff

---------

Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
Co-authored-by: Thiago Coimbra Lemos <tclemos@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>
Co-authored-by: Joan Esteban <129153821+joanestebanr@users.noreply.github.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Rachit Sonthalia <rachitsonthalia02@gmail.com>
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.

Let specify the sync point through a configurable tag (latest, finalized, safe)
3 participants