Skip to content

Commit

Permalink
feat(cmd): snapshots command (backport #2825) (#2828)
Browse files Browse the repository at this point in the history
This is an automatic backport of pull request #2825 done by
[Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the
[documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on
`<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com) you
can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>

Co-authored-by: Rootul P <rootulp@gmail.com>
  • Loading branch information
mergify[bot] and rootulp authored Nov 8, 2023
1 parent 9cae513 commit 2799ace
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/celestia-appd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/client/snapshot"
"github.com/cosmos/cosmos-sdk/server"
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
Expand Down Expand Up @@ -142,6 +143,9 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig encoding.Config) {
keys.Commands(app.DefaultNodeHome),
qgbcmd.VerifyCmd(),
)
rootCmd.AddCommand(
snapshot.Cmd(NewAppServer),
)
}

func addModuleInitFlags(startCmd *cobra.Command) {
Expand Down

0 comments on commit 2799ace

Please sign in to comment.