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

Equivocation detection loop: Reorganize block checking logic as state machine #2555

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

serban300
Copy link
Collaborator

@serban300 serban300 commented Sep 12, 2023

This way we'll be able to save the state in case of a failure.

Actually saving the state is not implemented yet. But this PR is a step towards better error handling.

Related to #2377

@serban300 serban300 self-assigned this Sep 12, 2023
@serban300 serban300 merged commit 12e272e into paritytech:master Sep 12, 2023
serban300 added a commit to serban300/parity-bridges-common that referenced this pull request Sep 12, 2023
… machine (paritytech#2555)

* Split `reconnect_failed_client()` logic

* Reorganize block checking logic as state machine

This way we'll be able to save the state in case of a failure
serban300 added a commit that referenced this pull request Sep 12, 2023
… machine (#2555) (#2557)

* Split `reconnect_failed_client()` logic

* Reorganize block checking logic as state machine

This way we'll be able to save the state in case of a failure
@Polkadot-Forum
Copy link

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-kusama-bridge/2971/5

serban300 added a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
… machine (paritytech#2555) (paritytech#2557)

* Split `reconnect_failed_client()` logic

* Reorganize block checking logic as state machine

This way we'll be able to save the state in case of a failure
serban300 added a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
… machine (paritytech#2555) (paritytech#2557)

* Split `reconnect_failed_client()` logic

* Reorganize block checking logic as state machine

This way we'll be able to save the state in case of a failure
bkontur pushed a commit that referenced this pull request May 7, 2024
… machine (#2555)

* Split `reconnect_failed_client()` logic

* Reorganize block checking logic as state machine

This way we'll be able to save the state in case of a failure
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.

3 participants