Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Nov 6, 2024
1 parent 27c62e7 commit 901988e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/onomyd/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewRootCmd() *cobra.Command {
}()

// pull request #171 refactor: Remove ics. So we need re-register proto can read state
RegisterInterfacesICSProvider(tempApplication.InterfaceRegistry())
RegisterInterfacesUsed(tempApplication.InterfaceRegistry())

initClientCtx := client.Context{}.
WithCodec(tempApplication.AppCodec()).
Expand Down Expand Up @@ -169,7 +169,7 @@ var tempDir = func() string {
}

// // pull request #171 refactor: Remove ics. So we need re-register proto can read state
func RegisterInterfacesICSProvider(registry cdctypes.InterfaceRegistry) {
func RegisterInterfacesUsed(registry cdctypes.InterfaceRegistry) {
registry.RegisterImplementations(
(*govtypes.Content)(nil),
&ibcprovidertypes.ConsumerAdditionProposal{},
Expand Down
2 changes: 1 addition & 1 deletion cmd/onomyd/cmd/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func newApp(
baseappOptions...,
)

RegisterInterfacesICSProvider(app.InterfaceRegistry())
RegisterInterfacesUsed(app.InterfaceRegistry())
return app
}

Expand Down

0 comments on commit 901988e

Please sign in to comment.