mesh-security-sdk
mesh-security-sdk copied to clipboard
epoch query for x/meshsecurity
Overview
Currently there is no way of knowing what the current epoch is and when the next epoch is going to be.
Proposal
Add meshd q meshsecurity epoch
query to get the current and next epoch. Should follow the interface as the epoch
module in osmosis.
EpochInfos and current epochs: https://github.com/osmosis-labs/osmosis/blob/main/proto/osmosis/epochs/query.proto#L12
NOTE: Default genesis creation does not have epoch information in the params. So it would be nice to be added too. Overwriting the genesis file would be enabled then.