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

ACP-77: Current validators API for SoV #3404

Merged
merged 267 commits into from
Nov 13, 2024

Conversation

ceyonur
Copy link
Contributor

@ceyonur ceyonur commented Sep 19, 2024

This pull request introduces a new gRPC method GetCurrentValidatorSet to the ValidatorState service, allowing clients to retrieve the current validator set for a given subnet. The changes span multiple files to implement this new functionality, including updates to the protobuf definitions, client and server interfaces, and associated tests.

Additions to ValidatorState Service:

Client and Server Implementation:

State Interface and Mock Updates:

Platform VM State Changes:

@ceyonur ceyonur mentioned this pull request Nov 9, 2024
RELEASES.md Outdated Show resolved Hide resolved
proto/validatorstate/validator_state.proto Outdated Show resolved Hide resolved
proto/validatorstate/validator_state.proto Outdated Show resolved Hide resolved
proto/validatorstate/validator_state.proto Outdated Show resolved Hide resolved
snow/validators/gvalidators/validator_state_server.go Outdated Show resolved Hide resolved
snow/validators/traced_state.go Outdated Show resolved Hide resolved
snow/validators/validator.go Outdated Show resolved Hide resolved
vms/platformvm/state/state.go Outdated Show resolved Hide resolved
vms/platformvm/state/state.go Outdated Show resolved Hide resolved
vms/platformvm/state/state.go Outdated Show resolved Hide resolved
@ceyonur ceyonur added the acp77 label Nov 13, 2024
Copy link
Contributor

@StephenButtolph StephenButtolph left a comment

Choose a reason for hiding this comment

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

final nits

proto/validatorstate/validator_state.proto Outdated Show resolved Hide resolved
snow/validators/state.go Outdated Show resolved Hide resolved
vms/platformvm/validators/manager.go Outdated Show resolved Hide resolved
ceyonur and others added 4 commits November 13, 2024 18:53
@StephenButtolph StephenButtolph added this to the v1.11.13 milestone Nov 13, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Nov 13, 2024
Merged via the queue into master with commit 40eac34 Nov 13, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the test-only-current-validators-api branch November 13, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants