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

Fix synchronization when bridge is ahead of the trusted state #344

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

ARR552
Copy link
Contributor

@ARR552 ARR552 commented Mar 20, 2023

Closes #343

What does this PR do?

Adds a fixto handle the reorg when the bridge trusted state is ahead of the trusted state

Reviewers

  • @C001-developer

Fix synchronization when bridge is ahead of the trusted state due to a forkID
@ARR552 ARR552 requested a review from jrs-engineer March 20, 2023 09:00
@cla-bot cla-bot bot added the cla-signed label Mar 20, 2023
@ARR552 ARR552 merged commit be1414b into release/v0.0.2 Mar 20, 2023
@ARR552 ARR552 deleted the fix/#343_sync branch March 20, 2023 10:48
ARR552 added a commit that referenced this pull request Apr 17, 2023
* feat: add benchmark tests (#280)

* wip

* config scirpt

* add ga

* improve mt db operations

* lint fixing

* refactor the mt

* dbTx from synchronizer

* reflect suggestions

* feat: separate the service from the bridge controller (#289)

* separate bridge service interface from ctrl

* wip

* fix test

* comments

* small fix

* Feature/#291 smc (#292)

* new smc without genesis

* fix node conf

* genesis + network update

* fix config

* fix accounts

* fix node version

* linter

* Refactor the merkle tree to refactor the last siblings in memory (#294)

* update the sibling

* small updates

* more comments

* remove unnecessary comments

* indexes + migration test utils (#295)

* indexes + migration test utils

* uncomment migration helper

* add migration tests

* sepcify schema

---------

Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: cool-developer <[email protected]>

* Feature/smc fork (#304)

* new smc

* update docker images

* linter

* fix e2e

* fix genesis + prover conf

* new genesis and addresses

* genesis fix

* fix node GenBlockNum

* fix proxy event executor

* node version

* mtHeight as constant

* fix forced batches check (#314)

* fix forced batches check

* fix test

* release workflow (#305)

* Feature/fflonk smc (#316)

* support new smc and node fflonk

* etherman test

* go 1.18

* fix node config

* addresses + node v0.0.3-RC4

* new config values

* increase timeouts

* revert time increase

---------

Co-authored-by: Cool Developer <[email protected]>

* Fix synchronization when bridge is ahead of the trusted state (#344)

Fix synchronization when bridge is ahead of the trusted state due to a forkID

* change --rm-dist by --clean

---------

Co-authored-by: cool-developer <[email protected]>
Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: Cool Developer <[email protected]>
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.

2 participants