Skip to content

Commit

Permalink
connect cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 10, 2023
1 parent 579321f commit 89efdc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/ophost/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/spf13/cobra"

"github.com/initia-labs/OPinit/x/ophost/client/cli"
"github.com/initia-labs/OPinit/x/ophost/keeper"
"github.com/initia-labs/OPinit/x/ophost/types"
)
Expand Down Expand Up @@ -64,12 +65,12 @@ func (b AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client

// GetTxCmd returns the root tx command for the move module.
func (b AppModuleBasic) GetTxCmd() *cobra.Command {
return nil
return cli.GetTxCmd()
}

// GetQueryCmd returns no root query command for the move module.
func (b AppModuleBasic) GetQueryCmd() *cobra.Command {
return nil
return cli.GetQueryCmd()
}

// RegisterInterfaces implements InterfaceModule
Expand Down

0 comments on commit 89efdc5

Please sign in to comment.