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

Suspend resume configure baker #1231

Merged
merged 33 commits into from
Oct 21, 2024
Merged

Suspend resume configure baker #1231

merged 33 commits into from
Oct 21, 2024

Conversation

drsk0
Copy link
Contributor

@drsk0 drsk0 commented Sep 9, 2024

This adds the suspend field to the BakerConfigureUpdate in the consensus and adds the necessary logic to set/unset the corresponding field. This comes (unfortunately) with more necessary boilerplate code. I haven't found already present tests that could be extended for this.

Fixes #1225.

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

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

@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch from 90201e3 to c71d9f1 Compare September 9, 2024 12:43
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch 7 times, most recently from 6071626 to 469efc9 Compare September 19, 2024 13:13
concordium-consensus/ChangeLog.md Outdated Show resolved Hide resolved
.gitmodules Outdated Show resolved Hide resolved
concordium-base Outdated Show resolved Hide resolved
concordium-consensus/blb704972-31.dat Outdated Show resolved Hide resolved
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch 5 times, most recently from 06b6beb to 5b01592 Compare September 27, 2024 10:03
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch 11 times, most recently from d91a51d to 14e2c48 Compare September 27, 2024 13:11
@drsk0 drsk0 requested a review from td202 September 27, 2024 13:40
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch from 14e2c48 to c4b93dd Compare October 14, 2024 07:26
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch from c4b93dd to 90bc4c0 Compare October 14, 2024 08:21
Copy link
Contributor

@eb-concordium eb-concordium 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 to me!

@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch 2 times, most recently from 9359127 to 0eda6ae Compare October 17, 2024 13:12
@drsk0 drsk0 force-pushed the suspend_resume_configure_baker branch from 0eda6ae to be864c2 Compare October 17, 2024 13:13
@drsk0 drsk0 merged commit 2eec499 into main Oct 21, 2024
3 checks passed
@drsk0 drsk0 deleted the suspend_resume_configure_baker branch October 21, 2024 09:01
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.

Implement getAccountIsSuspended for Queries.hs
4 participants