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 getProposedValidators RPC method #3497

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

Exposes via RPC the validators at the proposer VM height used by the inner VM to verify blocks. Useful for gathering ICM signatures from the validators at the height used to verify the block, as specified in ACP-151

How this works

Adds GetProposedValidators which fetches the validators at State.GetMinimumHeight. Other than that, the implementation is identical to GetValidatorsAt

How this was tested

CI

Need to be documented in RELEASES.md?

Yes

tests/e2e/p/proposed_validators.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Show resolved Hide resolved
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