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

Merge upstream v0.6.6 changes #134

Merged
merged 21 commits into from
May 22, 2024

Conversation

Stefan-Ethernal
Copy link

No description provided.

@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/merge-upstream-v0.6.6-changes branch 2 times, most recently from c50251a to 86346d0 Compare April 26, 2024 06:07
@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/merge-upstream-v0.6.6-changes branch from d22b6d7 to ffd4982 Compare May 21, 2024 10:46
@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review May 21, 2024 13:40
@Stefan-Ethernal Stefan-Ethernal requested a review from a team as a code owner May 21, 2024 13:40
agnusmor and others added 21 commits May 21, 2024 15:57
* New reorg function

* mocks

* linter

* Synchronizer tests

* new elderberry smc docker image

* new image

* logs

* fix json rpc

* fix

* Test sync from empty block

* Regular reorg case tested

* linter

* remove empty block + fix LatestSyncedBlockEmpty

* Improve check reorgs when no block is received during the call

* fix RPC error code for eth_estimateGas and eth_call for reverted tx and no return value; fix e2e test;

* fix test

* Extra unit test

* fix reorg until genesis

* disable parallel synchronization

---------

Co-authored-by: tclemos <thiago@polygon.technology>
…Hermez#3559)

* fix adding  tx that matches (same addr and nonce) tx that is being processing

* fix generate mocks

* fix updateCurrentNonceBalance
* wip

* run on background L1block checker

* fix lint and documentation

* fix conflict

* add unittest

* more unittest

* fix lint

* increase timeout for async unittest

* fix unittest

* rename GetResponse for GetResult and fix uniitest

* add a second gorutines for check the newest blocks

* more unittest

* add unittest and run also preCheck on launch

* by default Precheck from FINALIZED and SAFE

* fix unittest, apply PR comments

* changes suggested by ARR552 in integration method

* fix documentation

* import new network-l1-mock from PR#3553

* import new network-l1-mock from PR#3553

* import new network-l1-mock from PR#3553

* import new network-l1-mock from PR#3553

* fix unittest

* fix PR comments

* fix error

* checkReorgAndExecuteReset can't be call with lastEthBlockSynced=nil

* add parentHash to error

* fix error

* merge 3553 fix unittest

* fix unittest

* fix wrong merge

* adapt parallel reorg detection to flow

* fix unit tests

* fix log

* allow use sync parallel mode

---------

Co-authored-by: Alonso <ARR551@protonmail.com>
* Fix + remove empty blocks

* unit test

* linter
* fix + logs

* fix loop

* Revert "fix + logs"

This reverts commit 39ced69.
…ormation (0xPolygonHermez#3576)

* fix

* Comments + mock

* avoid error from some L1providers when fromBlock is higher than toBlock

* Revert some changes

* comments

* add L2BlockModulus to L1check

* doc

* fix dbTx = nil

* fix unit tests
…batch (0xPolygonHermez#3584)

* stop processing trusted Node after first open batch
@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/merge-upstream-v0.6.6-changes branch from 4fa7df2 to d59718e Compare May 21, 2024 14:07
Copy link

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Stefan-Ethernal Stefan-Ethernal merged commit 404088f into develop May 22, 2024
18 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the feat/merge-upstream-v0.6.6-changes branch May 22, 2024 12:23
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.

None yet

8 participants