Skip to content

Commit

Permalink
feat(rollapp): Add pruning command (#484)
Browse files Browse the repository at this point in the history
(cherry picked from commit f87d7fc)
  • Loading branch information
zale144 authored and omritoptix committed Jul 30, 2024
1 parent 5c8540b commit 17aad98
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions server/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ import (
"os"
"path/filepath"

"github.com/cosmos/cosmos-sdk/client/pruning"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/version"

"github.com/dymensionxyz/dymension-rdk/server/commands"
"github.com/dymensionxyz/dymint/conv"
"github.com/libp2p/go-libp2p"
"github.com/spf13/cobra"
tmcmd "github.com/tendermint/tendermint/cmd/cometbft/commands"
cmtos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/p2p"

"github.com/dymensionxyz/dymension-rdk/server/commands"
"github.com/dymensionxyz/dymint/conv"
)

// add Rollapp commands
Expand All @@ -40,6 +42,7 @@ func AddRollappCommands(rootCmd *cobra.Command, defaultNodeHome string, appCreat
server.ExportCmd(appExport, defaultNodeHome),
version.NewVersionCommand(),
server.NewRollbackCmd(appCreator, defaultNodeHome),
pruning.Cmd(appCreator, defaultNodeHome),
)
}

Expand Down

0 comments on commit 17aad98

Please sign in to comment.