mesh-security-sdk icon indicating copy to clipboard operation
mesh-security-sdk copied to clipboard

epoch query for x/meshsecurity

Open Anmol1696 opened this issue 1 year ago • 2 comments

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.

Anmol1696 avatar Jul 07 '23 23:07 Anmol1696