Skip to content

Commit

Permalink
fix: typos and remove legacy cmd set
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Oct 28, 2024
1 parent 6c2ad27 commit 906cfb4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 52 deletions.
1 change: 0 additions & 1 deletion app/app_configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
// auctiontypes "github.com/skip-mev/block-sdk/x/auction/types"

transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
ibchost "github.com/cosmos/ibc-go/v7/modules/core/exported"
Expand Down
2 changes: 1 addition & 1 deletion app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var mbasics = module.NewBasicManager(
staking.AppModuleBasic{},
// inflation
mint.AppModuleBasic{},
// distribution of fess and inflation
// distribution of fees and inflation
distr.AppModuleBasic{},
// governance functionality (voting)
gov.NewAppModuleBasic(
Expand Down
50 changes: 0 additions & 50 deletions cmd/akash/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,53 +287,3 @@ func (a appCreator) appExport(

return akashApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport)
}

// func QueryCmd() *cobra.Command {
// cmd := &cobra.Command{
// Use: "query",
// Aliases: []string{"q"},
// Short: "Querying subcommands",
// }
//
// cmd.AddCommand(
// authcmd.GetAccountCmd(),
// flags.LineBreak,
// rpc.ValidatorCommand(),
// rpc.BlockCommand(),
// authcmd.QueryTxsByEventsCmd(),
// authcmd.QueryTxCmd(),
// flags.LineBreak,
// )
//
// app.ModuleBasics().AddQueryCommands(cmd)
// cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID")
// return cmd
// }
//
// func TxCmd() *cobra.Command {
// cmd := &cobra.Command{
// Use: "tx",
// Short: "Transactions subcommands",
// }
//
// cmd.AddCommand(
// bankcmd.NewSendTxCmd(),
// flags.LineBreak,
// authcmd.GetSignCommand(),
// authcmd.GetSignBatchCommand(),
// authcmd.GetMultiSignCommand(),
// authcmd.GetValidateSignaturesCommand(),
// flags.LineBreak,
// authcmd.GetBroadcastCommand(),
// authcmd.GetEncodeCommand(),
// authcmd.GetDecodeCommand(),
// flags.LineBreak,
// vestingcli.GetTxCmd(),
// )
//
// // add modules' tx commands
// app.ModuleBasics().AddTxCommands(cmd)
// cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID")
//
// return cmd
// }

0 comments on commit 906cfb4

Please sign in to comment.