Skip to content

Corrected validation logic for new-format validator public keys (#368)#369

Merged
isaacdoidge merged 1 commit into
devfrom
issue-2889-2
Jun 22, 2026
Merged

Corrected validation logic for new-format validator public keys (#368)#369
isaacdoidge merged 1 commit into
devfrom
issue-2889-2

Conversation

@isaacdoidge

Copy link
Copy Markdown

Cherry-pick of #368.

  • Updated consensus key rotation logic in stake.move to ensure that only static keys are updated. Renamed consensus_public_key functions in ValidatorConfig to indicate deprecation without strictly marking them with the macro.

  • Ensured that validators cannot register invalid static public keys.

  • Added PoP for BLS multisig validator key. CG key already contains a PoP that is evaluated by the native, and the other keys don't require PoP.

* Updated consensus key rotation logic in stake.move to ensure that only static keys are updated. Renamed consensus_public_key functions in ValidatorConfig to indicate deprecation without strictly marking them with the macro.

* Ensured that validators cannot register invalid static public keys.

* Added PoP for BLS multisig validator key. CG key already contains a PoP that is evaluated by the native, and the other keys don't require PoP.
@isaacdoidge isaacdoidge merged commit 2f23999 into dev Jun 22, 2026
1 check failed
@isaacdoidge isaacdoidge deleted the issue-2889-2 branch June 22, 2026 05:05
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