Skip to content

Commit

Permalink
fix: add remove pending msg to amino codec
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Sep 26, 2024
1 parent 7a15132 commit 1014682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
legacy.RegisterAminoMsg(cdc, &MsgSetPower{}, "poa/MsgSetPower")
legacy.RegisterAminoMsg(cdc, &MsgCreateValidator{}, "poa/MsgCreateValidator")
legacy.RegisterAminoMsg(cdc, &MsgRemoveValidator{}, "poa/MsgRemoveValidator")
legacy.RegisterAminoMsg(cdc, &MsgRemovePending{}, "poa/MsgRemovePending")
legacy.RegisterAminoMsg(cdc, &MsgUpdateStakingParams{}, "poa/MsgUpdateStakingParams")
}

Expand All @@ -23,6 +24,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
&MsgSetPower{},
&MsgCreateValidator{},
&MsgRemoveValidator{},
&MsgRemovePending{},
&MsgUpdateStakingParams{},
)

Expand Down

0 comments on commit 1014682

Please sign in to comment.