-
Notifications
You must be signed in to change notification settings - Fork 611
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
x/epochs: Make the epochs module store the start height #452
Comments
This can be done in a backwards compatible way. We just need to add a And then whenever we update the epoch height in https://github.com/osmosis-labs/osmosis/blob/main/x/epochs/abci.go#L29-L33, we just need to add the start height field as well. |
@ValarDragon I'm happy to help with this, but I'd appreciate some guidance on the protobuf compilation strategy used in this repository. I compiled changes in the proto file via gogo proto and my result looks like it's missing some extensions relative to the existing compiled genesis file. Anyways, I didn't see much instruction other than a few of the tools in the devtools directory that I manually installed previously. Here's my compiler invocation for reference:
Perhaps I should be using buf via the protocgen.sh? |
Amazing, thanks! The way I compile these is to use the commands in the make file, I believe its |
Ah I missed this, thanks for the guidance; all good now 👍 |
We currently only store the start time, but the start height is quite helpful as well in debugging things
The text was updated successfully, but these errors were encountered: