Skip to content

Commit

Permalink
Add forgotten redelegation codec (#6758)
Browse files Browse the repository at this point in the history
* Add forgotten redelegation codec

* add changelog

* Restore changelog
  • Loading branch information
ValarDragon authored Oct 27, 2023
1 parent 6a62e7f commit 0d36c62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### State Breaks

* [#6758](https://github.com/osmosis-labs/osmosis/pull/6758) Add codec for MsgUndelegateFromRebalancedValidatorSet

## v20.0.0

### Features

* [#6468](https://github.com/osmosis-labs/osmosis/pull/6468) feat: remove osmo multihop discount
Expand Down
2 changes: 2 additions & 0 deletions x/valset-pref/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgSetValidatorSetPreference{}, "osmosis/MsgSetValidatorSetPreference", nil)
cdc.RegisterConcrete(&MsgDelegateToValidatorSet{}, "osmosis/MsgDelegateToValidatorSet", nil)
cdc.RegisterConcrete(&MsgUndelegateFromValidatorSet{}, "osmosis/MsgUndelegateFromValidatorSet", nil)
cdc.RegisterConcrete(&MsgUndelegateFromRebalancedValidatorSet{}, "osmosis/MsgUndelegateFromRebalValset", nil)
cdc.RegisterConcrete(&MsgWithdrawDelegationRewards{}, "osmosis/MsgWithdrawDelegationRewards", nil)
cdc.RegisterConcrete(&MsgRedelegateValidatorSet{}, "osmosis/MsgRedelegateValidatorSet", nil)
}
Expand All @@ -23,6 +24,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
&MsgSetValidatorSetPreference{},
&MsgDelegateToValidatorSet{},
&MsgUndelegateFromValidatorSet{},
&MsgUndelegateFromRebalancedValidatorSet{},
&MsgWithdrawDelegationRewards{},
&MsgRedelegateValidatorSet{},
)
Expand Down

0 comments on commit 0d36c62

Please sign in to comment.