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

synchronizer: compatibilize with generic L2 node #3518

Closed
joanestebanr opened this issue Apr 3, 2024 · 0 comments · Fixed by #3519 or #3525
Closed

synchronizer: compatibilize with generic L2 node #3518

joanestebanr opened this issue Apr 3, 2024 · 0 comments · Fixed by #3519 or #3525
Assignees
Milestone

Comments

@joanestebanr
Copy link
Contributor

Rationale

The trusted RPC server have some extensions in ethereum-API that could fails if you use another node.

Implementation

Use a regular ethereum client to make calls if don't need the extended data

@joanestebanr joanestebanr added this to the v0.6.5 milestone Apr 3, 2024
@joanestebanr joanestebanr self-assigned this Apr 3, 2024
joanestebanr added a commit that referenced this issue Apr 4, 2024
* #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
joanestebanr added a commit that referenced this issue Apr 4, 2024
* #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
joanestebanr added a commit that referenced this issue Apr 4, 2024
* #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
Stefan-Ethernal pushed a commit to 0xPolygon/cdk-validium-node that referenced this issue Apr 10, 2024
* 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
Stefan-Ethernal added a commit to 0xPolygon/cdk-validium-node that referenced this issue 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