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

chore: add new query to return next block to be rewarded #377

Closed
wants to merge 2 commits into from

Conversation

RafilxTenfen
Copy link
Contributor

@RafilxTenfen RafilxTenfen commented Jan 3, 2025

helps to debug

@RafilxTenfen RafilxTenfen self-assigned this Jan 3, 2025
Copy link
Collaborator

@KonradStaniec KonradStaniec left a comment

Choose a reason for hiding this comment

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

Wdyt about making this a metric ? (you can find example metrics in metrics.go)

It feel a bit weird to introduce whole query, without other use case than debugging.

@RafilxTenfen
Copy link
Contributor Author

Wdyt about making this a metric ? (you can find example metrics in metrics.go)

It feel a bit weird to introduce whole query, without other use case than debugging.

ya, there is not much reason besides debugging, I don't think a metrics would be the right fit as the whole idea here would be to see some value that is inside the keeper

One other way of debugging this is to export genesis, but that requires stopping the node

I am good if we don't want this to be a query and we can close the PR

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