Skip to content

Commit

Permalink
delete cli custom query
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-cha committed Jul 16, 2024
1 parent dff654a commit 8f808a8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 60 deletions.
2 changes: 1 addition & 1 deletion x/opchild/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
Short: "Query the next l2 sequence",
},
},
EnhanceCustomCommand: true, // We still have manual commands in gov that we want to keep
EnhanceCustomCommand: true,
},
}
}
23 changes: 0 additions & 23 deletions x/opchild/client/cli/query.go

This file was deleted.

5 changes: 0 additions & 5 deletions x/opchild/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ func (b AppModuleBasic) GetTxCmd() *cobra.Command {
return cli.GetTxCmd(b.cdc.InterfaceRegistry().SigningContext().AddressCodec())
}

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

// RegisterInterfaces implements InterfaceModule
func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
types.RegisterInterfaces(registry)
Expand Down
26 changes: 0 additions & 26 deletions x/ophost/client/cli/query.go

This file was deleted.

5 changes: 0 additions & 5 deletions x/ophost/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ func (b AppModuleBasic) GetTxCmd() *cobra.Command {
return cli.GetTxCmd(b.cdc.InterfaceRegistry().SigningContext().AddressCodec())
}

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

// RegisterInterfaces implements InterfaceModule
func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
types.RegisterInterfaces(registry)
Expand Down

0 comments on commit 8f808a8

Please sign in to comment.