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

✨ Publish validator vote data #229

Open
1 of 4 tasks
Thomasvdam opened this issue Mar 26, 2024 · 0 comments
Open
1 of 4 tasks

✨ Publish validator vote data #229

Thomasvdam opened this issue Mar 26, 2024 · 0 comments
Labels
Indexer 🗂️ Related to the indexer plugin priority: low Should only be scheduled if it's important relative to other issues type: feature ✨ New feature or request

Comments

@Thomasvdam
Copy link
Member

Thomasvdam commented Mar 26, 2024

✨ Feature

Publish messages on the SQS queue that contain data about the validator votes for a block.

Motivation

This allows us to show in the explorer which validators missed signing blocks. This can help delegators make informed decisions about where to delegate their tokens.

Implementation

All the data we need should be available in the ListenFinalizeBlock handler.

Caution

A block contains the commits (votes) for the previous block, not the block that's currently being processed. So one publish can/will contain updates for multiple heights.

@Thomasvdam Thomasvdam added priority: low Should only be scheduled if it's important relative to other issues type: feature ✨ New feature or request Indexer 🗂️ Related to the indexer plugin labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexer 🗂️ Related to the indexer plugin priority: low Should only be scheduled if it's important relative to other issues type: feature ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant