Skip to content

Allows P-chain to sign off on updates to L1 validator sets#1330

Merged
mdelle1 merged 3 commits into
mainfrom
merkle-register-call
May 26, 2026
Merged

Allows P-chain to sign off on updates to L1 validator sets#1330
mdelle1 merged 3 commits into
mainfrom
merkle-register-call

Conversation

@mdelle1

@mdelle1 mdelle1 commented May 22, 2026

Copy link
Copy Markdown
Contributor

This PR both removes updateValidatorSet, which was a redundant call and could be encapsulated by registerValidatorSetwith minimal modifications, and makes progress on the contract-side of Issue #1324 allowing the P-chain, being the source of truth, to sign off on updates to any L1 validator set update.

@mdelle1 mdelle1 requested a review from a team as a code owner May 22, 2026 18:37
Comment on lines +79 to +83
require(
signingChainID == pChainID
|| (signingChainID == payloadBlockchainID && isRegistered(payloadBlockchainID)),
"Invalid signing chain"
);
Comment on lines +79 to +83
require(
signingChainID == pChainID
|| (signingChainID == payloadBlockchainID && isRegistered(payloadBlockchainID)),
"Invalid signing chain"
);
@mdelle1 mdelle1 merged commit a32c03b into main May 26, 2026
25 checks passed
@mdelle1 mdelle1 deleted the merkle-register-call branch May 26, 2026 13:17
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.

4 participants