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

feat: accomodate ADR-25 to add jailed status to fp instance #56

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

gitferry
Copy link
Collaborator

Partially closes #5 by introducing jailed status to the fp instance. The jailing status can be found in two ways:

  1. The status update loop periodically checks whether the fp is slashed or jailed
  2. Upon ErrFpAlreadyJailed error when submitting finality signature

Once jailing is detected, the status of the fp instance will be set to jailed and terminated.

Copy link
Contributor

@RafilxTenfen RafilxTenfen left a comment

Choose a reason for hiding this comment

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

🎉

Copy link
Member

@Lazar955 Lazar955 left a comment

Choose a reason for hiding this comment

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

🙌

gitferry added a commit to babylonlabs-io/babylon that referenced this pull request Sep 19, 2024
Closes #64.

TODOs:
- [x] #65 
- [x] #74
- [x] babylonlabs-io/finality-provider#56 
- [x] #81 

We still need to update the docs, add CLI cmd, and e2e tests but can be
done in separate PRs
SebastianElvis pushed a commit to babylonlabs-io/babylon that referenced this pull request Sep 19, 2024
Closes #64.

TODOs:
- [x] #65
- [x] #74
- [x] babylonlabs-io/finality-provider#56
- [x] #81

We still need to update the docs, add CLI cmd, and e2e tests but can be
done in separate PRs
@gitferry gitferry merged commit 8c63dae into main Sep 19, 2024
8 checks passed
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.

Incorporate jailing inactive finality providers
3 participants