-
Notifications
You must be signed in to change notification settings - Fork 592
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: x/mint docs and clean up, excluding mint keeper #1857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor comments that would be good to be fixed before merging!
Otherwise 🌮 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like @mattverse provided some good feedback here. LGTM pending changes 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'll probably do another pass over all simulator work as part of my simulator refactor, so not worried about that tbh.
I'm good with hitting merge after make proto-all
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
…o roman/mint-docs
* chore: mint module docs and clean up * rename LasteHalvenEpoch to LastReductionEpoch * lint * revert proto comments * spec * try removing simulation * client module changes * client/rest * more proto fixes * avoid listing minting params in spec * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * update comment in hooks.go * Revert "try removing simulation" w/o Makefile change This reverts commit 5a06bf1. * randomize mint gen state simulation * fix full sim tests * fix TestAppStateDeterminism * fix TestAppStateDeterminism * change expected epochIdentifier to day * address Dev's comments to hardcode certain parameters * Update x/mint/types/minter_test.go Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * remove unused variable * Update proto/osmosis/mint/v1beta1/genesis.proto Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/mint/types/hooks.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * make prot-all * remove unused Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> (cherry picked from commit ee48cf5) # Conflicts: # go.mod # proto/osmosis/superfluid/query.proto # x/mint/keeper/genesis.go # x/mint/keeper/hooks_test.go # x/mint/keeper/keeper.go # x/mint/types/genesis.pb.go # x/mint/types/params.go # x/pool-incentives/keeper/hooks.go # x/superfluid/types/query.pb.go
* chore: mint module docs and clean up * rename LasteHalvenEpoch to LastReductionEpoch * lint * revert proto comments * spec * try removing simulation * client module changes * client/rest * more proto fixes * avoid listing minting params in spec * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * update comment in hooks.go * Revert "try removing simulation" w/o Makefile change This reverts commit 5a06bf1. * randomize mint gen state simulation * fix full sim tests * fix TestAppStateDeterminism * fix TestAppStateDeterminism * change expected epochIdentifier to day * address Dev's comments to hardcode certain parameters * Update x/mint/types/minter_test.go Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * remove unused variable * Update proto/osmosis/mint/v1beta1/genesis.proto Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/mint/types/hooks.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * make prot-all * remove unused Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
Subset of: #1839
What is the purpose of the change
Audit docs and refactor for the mint module:
LastHalvenEpoch
toLastReductionEpoch
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? no