Skip to content

Conversation

@huancheng-trili
Copy link
Collaborator

Description

Closes #44.

Added one RPC handler GetBlockValidators that calls /helpers/validators and returns a list of validators for a specific block. This RPC was introduced prior to v024 and the response schema is updated in v024. The implementation handles both versions.

v024 schema
v023 schema

Test plan

Added unit tests.

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.

Update RPC GET /chains/<chain_id>/blocks/<block_id>/helpers/validators

2 participants