Skip to content

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

state.GetWarpValidatorSet includes additional caching targeting the Granite optimizations compared to the prior validation logic.

How this works

warp.GetCanonicalValidatorSetFromChainID and warp.GetCanonicalValidatorSetFromSubnetID should no longer be used. state.GetWarpValidatorSet is a direct replacement of warp.GetCanonicalValidatorSetFromSubnetID.

How this was tested

Updated mocked validator sets to support the new GetWarpValidatorSet function.

Need to be documented?

Need to update RELEASES.md?

@StephenButtolph StephenButtolph changed the title Replace get canonical validator set Replace getValidatorSet Oct 6, 2025
@StephenButtolph StephenButtolph self-assigned this Oct 6, 2025
@StephenButtolph StephenButtolph marked this pull request as ready for review October 7, 2025 14:26
@StephenButtolph StephenButtolph requested a review from a team as a code owner October 7, 2025 14:26
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 7, 2025
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 7, 2025
Merged via the queue into master with commit 2880150 Oct 7, 2025
9 checks passed
@StephenButtolph StephenButtolph deleted the replace-get-canonical-validator-set branch October 7, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants