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

Add NumSubnets to the validator manager interface #3504

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

This PR is factored out of #3388.

After ACP-77, there will be multiple ways to add validators to the validator manager. This makes the current sanity check invalid.

How this works

Rather than verifying that each subnet is empty, we can verify that all subnets are empty.

How this was tested

Added unit tests

Need to be documented in RELEASES.md?

No user facing changes.

@StephenButtolph StephenButtolph self-assigned this Oct 30, 2024
@StephenButtolph StephenButtolph added this to the v1.11.13 milestone Oct 30, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 30, 2024
Merged via the queue into master with commit ad5f27f Oct 30, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the implement-acp-77-add-subnets-count branch October 30, 2024 17:11
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