Skip to content

Commit

Permalink
add StopCCProposal to provider codec interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Aug 24, 2022
1 parent 21b4819 commit 01d9557
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/client/proposal_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ type StopConsumerChainProposalJSON struct {
Title string `json:"title"`
Description string `json:"description"`
ChainId string `json:"chain_id"`
StopTime time.Time `json:"spawn_time"`
StopTime time.Time `json:"stop_time"`
Deposit string `json:"deposit"`
}

Expand Down
4 changes: 4 additions & 0 deletions x/ccv/provider/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
(*govtypes.Content)(nil),
&CreateConsumerChainProposal{},
)
registry.RegisterImplementations(
(*govtypes.Content)(nil),
&StopConsumerChainProposal{},
)
}

var (
Expand Down

0 comments on commit 01d9557

Please sign in to comment.