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

p8: Move the suspended flag #564

Merged
merged 2 commits into from
Oct 22, 2024
Merged

p8: Move the suspended flag #564

merged 2 commits into from
Oct 22, 2024

Conversation

drsk0
Copy link
Contributor

@drsk0 drsk0 commented Oct 21, 2024

This moves the suspended flag from AccountInfo to AccountStakingInfo.Baker. This also needs a change in concordium-grpc-api that needs to go in first: Concordium/concordium-grpc-api#63.

Purpose

We move the suspended flag one level down to the AccountStakingInfo to reflect that it is a property of a validator and not the 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 and others added 2 commits October 22, 2024 11:12
This moves the suspended flag from AccountInfo to AccountStakingInfo.Baker
@drsk0 drsk0 merged commit d7eb356 into main Oct 22, 2024
40 checks passed
@drsk0 drsk0 deleted the move_suspended_flag branch October 22, 2024 10:18
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.

3 participants