This repository was archived by the owner on Mar 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
1919 "github.com/cosmos/cosmos-sdk/client/debug"
2020 "github.com/cosmos/cosmos-sdk/client/flags"
2121 "github.com/cosmos/cosmos-sdk/client/keys"
22+ "github.com/cosmos/cosmos-sdk/client/pruning"
2223 "github.com/cosmos/cosmos-sdk/client/rpc"
2324 "github.com/cosmos/cosmos-sdk/server"
2425 serverconfig "github.com/cosmos/cosmos-sdk/server/config"
@@ -39,7 +40,6 @@ import (
3940 "github.com/spf13/pflag"
4041
4142 // this line is used by starport scaffolding # root/moduleImport
42-
4343 "github.com/sideprotocol/side/app"
4444 appparams "github.com/sideprotocol/side/app/params"
4545)
@@ -108,6 +108,9 @@ func initRootCmd(
108108) {
109109 // Set config
110110 initSDKConfig ()
111+ a := appCreator {
112+ encodingConfig ,
113+ }
111114
112115 gentxModule := app .ModuleBasics [genutiltypes .ModuleName ].(genutil.AppModuleBasic )
113116 rootCmd .AddCommand (
@@ -125,13 +128,10 @@ func initRootCmd(
125128 tmcli .NewCompletionCmd (rootCmd , true ),
126129 debug .Cmd (),
127130 config .Cmd (),
131+ pruning .PruningCmd (a .newApp ),
128132 // this line is used by starport scaffolding # root/commands
129133 )
130134
131- a := appCreator {
132- encodingConfig ,
133- }
134-
135135 // add server commands
136136 server .AddCommands (
137137 rootCmd ,
You can’t perform that action at this time.
0 commit comments