cosmos / interchain-security

Interchain Security is an open sourced IBC application which allows cosmos blockchains to lease their proof-of-stake security to one another.
https://cosmos.github.io/interchain-security/
Other
154 stars 115 forks source link

[Feature]: Query for blocks until next epoch #1940

Closed mpoke closed 2 months ago

mpoke commented 4 months ago

Summary

Query for blocks until next epoch.

Problem Definition

It's currently not possible to know when the current epoch ends, which means it's hard for a validator that opts in to know when to look to see the results of its actions.

Proposed Feature

Add a query to get the number of blocks until the next epoch.

Work Breakdown

Add an additional query.

p-offtermatt commented 2 months ago

As discussed with @insumity, taking this one over