From 3d43b971cd5d086adaf249f7b10fcf4e5304a86b Mon Sep 17 00:00:00 2001 From: insumity Date: Wed, 4 Sep 2024 17:56:50 +0200 Subject: [PATCH] init commit --- x/ccv/provider/types/codec.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/x/ccv/provider/types/codec.go b/x/ccv/provider/types/codec.go index 18915de7e7..bc2ec27fa2 100644 --- a/x/ccv/provider/types/codec.go +++ b/x/ccv/provider/types/codec.go @@ -19,13 +19,15 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { registry.RegisterImplementations( (*govv1beta1.Content)(nil), &ConsumerAdditionProposal{}, - ) - registry.RegisterImplementations( - (*govv1beta1.Content)(nil), &ConsumerRemovalProposal{}, + &ConsumerModificationProposal{}, + &ChangeRewardDenomsProposal{}, ) registry.RegisterImplementations( (*sdk.Msg)(nil), + &MsgConsumerAddition{}, + &MsgConsumerRemoval{}, + &MsgConsumerModification{}, &MsgAssignConsumerKey{}, &MsgCreateConsumer{}, &MsgUpdateConsumer{}, @@ -38,10 +40,6 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { (*govv1beta1.Content)(nil), &EquivocationProposal{}, ) - registry.RegisterImplementations( - (*govv1beta1.Content)(nil), - &ChangeRewardDenomsProposal{}, - ) registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgSubmitConsumerMisbehaviour{},