khanh

Results 8 issues of khanh

Closes: #XXX ## What is the purpose of the change Make test doesn't run the amm_test in pool-models, this PR fixes that ## Brief Changelog - change name of TestCalculateAmountOutAndIn_InverseRelationship...

C:x/gamm

Closes: #1995 ## What is the purpose of the change Change `TestGetModuleToDistributeCoins` and `TestGetModuleDistributedCoins` into table driven tests `SetupNewGauge` and `SetupNewGaugeWithDenom` now takes in an additional param `numEpochsPaidOver` ## Documentation...

C:x/incentives

## Background `GetModuleToDistributeCoins` get all the gauge coins from : - active gauges - upcoming gauges that has start time after current block time What about upcoming gauges that has...

Closes: #1888 ## Brief Changelog - add proposal-specific flags to NewCmdSubmitUpdatePoolIncentivesProposal and NewCmdSubmitReplacePoolIncentivesProposal - disable poolincetives tx commands since these should be only used with a gov prefix - register...

C:docs
C:CLI
C:x/pool-incentives
C:app-wiring

## What is the purpose of the change This is related to this issue here https://github.com/osmosis-labs/osmosis/issues/2327. After discussion we agree that `GetModuleToDistributeCoins` of `incentives keeper` has the wrong logic. This...

C:x/incentives

## Background We need functions to do division and multiplication of sdk.Coins and a number. For example DivCoin( 88stake, 2 ) -> 44stake, this will be a useful helper function...

Closes: #XXX Related: #XXX ## Description ______ For contributor use: - [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/shentufoundation/shentu/blob/master/CONTRIBUTING.md#pr-targeting)) - [ ] Linked to Github issue with discussion and...