-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
from
September 9, 2024 12:43
90201e3
to
c71d9f1
Compare
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
7 times, most recently
from
September 19, 2024 13:13
6071626
to
469efc9
Compare
td202
requested changes
Sep 23, 2024
concordium-consensus/src/Concordium/GlobalState/Basic/BlockState/Account.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/Account/StructureV1.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/Bakers.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/BlockState.hs
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/BlockState.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/BlockState.hs
Show resolved
Hide resolved
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
5 times, most recently
from
September 27, 2024 10:03
06b6beb
to
5b01592
Compare
drsk0
commented
Sep 27, 2024
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
11 times, most recently
from
September 27, 2024 13:11
d91a51d
to
14e2c48
Compare
drsk0
commented
Sep 27, 2024
concordium-consensus/src/Concordium/GlobalState/Persistent/BlockState.hs
Show resolved
Hide resolved
…ount.hs Co-authored-by: Thomas Dinsdale-Young <[email protected]>
…ount/StructureV1.hs Co-authored-by: Thomas Dinsdale-Young <[email protected]>
In favour of functions like getBaker/getAccountBaker.
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
from
October 14, 2024 07:26
14e2c48
to
c4b93dd
Compare
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
from
October 14, 2024 08:21
c4b93dd
to
90bc4c0
Compare
eb-concordium
approved these changes
Oct 15, 2024
There was a problem hiding this 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!
td202
approved these changes
Oct 16, 2024
concordium-consensus/src/Concordium/GlobalState/Persistent/Account/StructureV1.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Persistent/BlockState.hs
Show resolved
Hide resolved
concordium-consensus/src/Concordium/GlobalState/Basic/BlockState/Account.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/ProtocolUpdate/P8/Reboot.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/ProtocolUpdate/P8/Reboot.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/globalstate/GlobalStateTests/ConfigureValidator.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/scheduler/SchedulerTests/ConfigureBaker.hs
Outdated
Show resolved
Hide resolved
Co-authored-by: Thomas Dinsdale-Young <[email protected]>
…ount/StructureV1.hs Co-authored-by: Thomas Dinsdale-Young <[email protected]>
Co-authored-by: Thomas Dinsdale-Young <[email protected]>
Co-authored-by: Thomas Dinsdale-Young <[email protected]>
…ount/StructureV1.hs Co-authored-by: Thomas Dinsdale-Young <[email protected]>
…ckState.hs Co-authored-by: Thomas Dinsdale-Young <[email protected]>
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
2 times, most recently
from
October 17, 2024 13:12
9359127
to
0eda6ae
Compare
drsk0
force-pushed
the
suspend_resume_configure_baker
branch
from
October 17, 2024 13:13
0eda6ae
to
be864c2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the
suspend
field to theBakerConfigureUpdate
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
hard-to-understand areas.
CLA acceptance
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0
link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf
I accept the above linked CLA.