From 1014682ab52c0050dc684e0b5603791c2766db9e Mon Sep 17 00:00:00 2001 From: "Felix C. Morency" <1102868+fmorency@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:45:19 -0400 Subject: [PATCH] fix: add remove pending msg to amino codec --- codec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codec.go b/codec.go index dd5c3b9..1f4ec46 100644 --- a/codec.go +++ b/codec.go @@ -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") } @@ -23,6 +24,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &MsgSetPower{}, &MsgCreateValidator{}, &MsgRemoveValidator{}, + &MsgRemovePending{}, &MsgUpdateStakingParams{}, )