Skip to content

Commit

Permalink
chore: add purning command
Browse files Browse the repository at this point in the history
  • Loading branch information
soring323 committed Mar 21, 2024
1 parent abc51da commit dfa8be4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/sided/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/debug"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/pruning"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/server"
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
Expand All @@ -39,7 +40,6 @@ import (
"github.com/spf13/pflag"

// this line is used by starport scaffolding # root/moduleImport

"github.com/sideprotocol/side/app"
appparams "github.com/sideprotocol/side/app/params"
)
Expand Down Expand Up @@ -108,6 +108,9 @@ func initRootCmd(
) {
// Set config
initSDKConfig()
a := appCreator{
encodingConfig,
}

gentxModule := app.ModuleBasics[genutiltypes.ModuleName].(genutil.AppModuleBasic)
rootCmd.AddCommand(
Expand All @@ -125,13 +128,10 @@ func initRootCmd(
tmcli.NewCompletionCmd(rootCmd, true),
debug.Cmd(),
config.Cmd(),
pruning.PruningCmd(a.newApp),
// this line is used by starport scaffolding # root/commands
)

a := appCreator{
encodingConfig,
}

// add server commands
server.AddCommands(
rootCmd,
Expand Down

0 comments on commit dfa8be4

Please sign in to comment.