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

Add bieAccountIsSuspended field to BakerInfoEx #553

Merged
merged 3 commits into from
Sep 5, 2024
Merged

Conversation

drsk0
Copy link
Contributor

@drsk0 drsk0 commented Aug 29, 2024

We add the bieAccountIsSuspended field to BakerInfoEx to make the field persistent together with the account. There are also a few new types/constraints that are useful for the implementation in the consensus.

Purpose

Add the suspended field to the persisted fields of the validator account.

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 changed the title jAdd bieAccountIsSuspended field to BakerInfoEx Add bieAccountIsSuspended field to BakerInfoEx Aug 29, 2024
@drsk0 drsk0 requested a review from td202 August 29, 2024 16:07
haskell-src/Concordium/Types/ProtocolVersion.hs Outdated Show resolved Hide resolved
haskell-src/Concordium/Types/ProtocolVersion.hs Outdated Show resolved Hide resolved
haskell-src/Concordium/Types/Accounts.hs Outdated Show resolved Hide resolved
We add the `bieAccountIsSuspended` field to `BakerInfoEx` to make the field
persistent together with the account.
@drsk0 drsk0 force-pushed the baker_info_ex_new_field branch 2 times, most recently from 3924aea to 1cff912 Compare September 5, 2024 09:01
We drop the `condtionally` and enforce the presence of the field at the call
side.
@drsk0 drsk0 removed the request for review from eb-concordium September 5, 2024 17:21
@drsk0 drsk0 merged commit f2db8a0 into main Sep 5, 2024
40 checks passed
@drsk0 drsk0 deleted the baker_info_ex_new_field branch September 5, 2024 18:09
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