Skip to content

feat(utils): Adds key registration support to utils crate #189

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

Merged
merged 2 commits into from
Jul 8, 2025

Conversation

aorumbayev
Copy link
Collaborator

@aorumbayev aorumbayev commented Jul 4, 2025

Adds support for online, offline, and non-participation key
registration transactions to the composer.

This enhancement allows users to manage their account's
participation in the consensus protocol. Includes relevant
parameter structs and composer methods.

Also adds integration tests to verify the behavior of the
key registration transactions.

Must be merged after #163 as this branch is based of it

@aorumbayev aorumbayev requested a review from neilcampbell July 4, 2025 12:58
@aorumbayev aorumbayev changed the base branch from feat/keyreg to main July 4, 2025 12:59
@aorumbayev aorumbayev force-pushed the feat/keyreg-utils branch from bcc5901 to e68c7dd Compare July 4, 2025 13:00
@neilcampbell neilcampbell changed the base branch from main to feat/keyreg July 4, 2025 14:17
/// Whether to prevent the account from ever participating in consensus again.
/// - `false`: Temporary offline (can be brought back online later)
/// - `true`: Permanent offline (account can never participate again)
pub prevent_account_from_ever_participating_again: bool,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
pub prevent_account_from_ever_participating_again: bool,

The only reason this is here is because we don't have NonParticipationKeyRegistration in utils. I think we remove this one and record as a breaking change.

@aorumbayev aorumbayev changed the title feat(utils): Adds key registration support feat(utils): Adds key registration support to utils crate Jul 4, 2025
@aorumbayev aorumbayev force-pushed the feat/keyreg-utils branch from e68c7dd to c8d9e64 Compare July 7, 2025 11:45
Base automatically changed from feat/keyreg to main July 8, 2025 08:16
An error occurred while trying to automatically change base from feat/keyreg to main July 8, 2025 08:16
@aorumbayev aorumbayev merged commit bd81840 into main Jul 8, 2025
16 checks passed
@aorumbayev aorumbayev deleted the feat/keyreg-utils branch July 8, 2025 08:40
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