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

Introducing SuspensionInfo and suspension chain parameters #1264

Merged
merged 9 commits into from
Dec 5, 2024

Conversation

drsk0
Copy link
Contributor

@drsk0 drsk0 commented Dec 2, 2024

Purpose

These are the corresponding changes for the newly introduced validator suspension chain parameters in the node repo. Also a data structure SuspensionInfo is introduced that gathers the missed rounds and whether a validator is primed for suspension at the next snapshot.

Changes

See above

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

CLA acceptance

_Remove if not applicable.

By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0

@drsk0 drsk0 requested review from eb-concordium and td202 December 2, 2024 14:47
@drsk0 drsk0 changed the title introducion SuspensionInfo and suspension chain parameters Introducing SuspensionInfo and suspension chain parameters Dec 2, 2024
@drsk0 drsk0 mentioned this pull request Dec 2, 2024
6 tasks
Copy link
Contributor

@td202 td202 left a comment

Choose a reason for hiding this comment

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

Base submodule requires updating.

@drsk0
Copy link
Contributor Author

drsk0 commented Dec 3, 2024

I'll update base as soon as the corresponding PR's there are merged.

@drsk0 drsk0 requested a review from td202 December 4, 2024 14:41
@drsk0 drsk0 requested a review from td202 December 4, 2024 18:09
Copy link
Contributor

@td202 td202 left a comment

Choose a reason for hiding this comment

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

Looks good!

@drsk0 drsk0 merged commit 0e32da5 into main Dec 5, 2024
3 checks passed
@drsk0 drsk0 deleted the suspension_info branch December 5, 2024 14:44
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.

2 participants