Skip to content

Commit

Permalink
Fix msg type for TypeMsgUnbondConvertAndStake (#6840)
Browse files Browse the repository at this point in the history
* fix: fix wrong validate prompt msg

* fix: fix const value TypeMsgUnbondConvertAndStake

* Update CHANGELOG.md
  • Loading branch information
Halimao authored Nov 9, 2023
1 parent 9fb7db4 commit 28ffe12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug Fixes

* [#6840](https://github.com/osmosis-labs/osmosis/pull/6840) fix: change TypeMsgUnbondConvertAndStake value to "unbond_convert_and_stake" and improve error message when epoch currentEpochStartHeight less than zero
* [#6769](https://github.com/osmosis-labs/osmosis/pull/6769) fix: improve dust handling in EstimateTradeBasedOnPriceImpact

## v20.0.0
Expand Down
2 changes: 1 addition & 1 deletion x/epochs/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (epoch EpochInfo) Validate() error {
return errors.New("epoch CurrentEpoch must be non-negative")
}
if epoch.CurrentEpochStartHeight < 0 {
return errors.New("epoch CurrentEpoch must be non-negative")
return errors.New("epoch CurrentEpochStartHeight must be non-negative")
}
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion x/superfluid/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
TypeMsgUnlockAndMigrateShares = "unlock_and_migrate_shares"
TypeMsgCreateFullRangePositionAndSuperfluidDelegate = "create_full_range_position_and_delegate"
TypeMsgAddToConcentratedLiquiditySuperfluidPosition = "add_to_concentrated_liquidity_superfluid_position"
TypeMsgUnbondConvertAndStake = "add_to_concentrated_liquidity_superfluid_position"
TypeMsgUnbondConvertAndStake = "unbond_convert_and_stake"
)

var _ sdk.Msg = &MsgSuperfluidDelegate{}
Expand Down

0 comments on commit 28ffe12

Please sign in to comment.