Skip to content

Commit

Permalink
fix!: register ConsumerModificationProposal and others (#2215)
Browse files Browse the repository at this point in the history
init commit
  • Loading branch information
insumity authored Sep 4, 2024
1 parent f85677c commit 954f77c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions x/ccv/provider/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand All @@ -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{},
Expand Down

0 comments on commit 954f77c

Please sign in to comment.