Skip to content

Commit 348f4c6

Browse files
committed
enabled pebble build flag, add snapshot subcommand
1 parent 5f452a1 commit 348f4c6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ ifeq ($(WITH_CLEVELDB),yes)
5151
build_tags += gcc
5252
endif
5353
build_tags += $(BUILD_TAGS)
54+
build_tags += pebbledb
5455
build_tags := $(strip $(build_tags))
5556

5657
build_tags_test_binary = $(build_tags)

cmd/neutrond/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"github.com/cosmos/cosmos-sdk/client/flags"
2727
"github.com/cosmos/cosmos-sdk/client/keys"
2828
"github.com/cosmos/cosmos-sdk/client/rpc"
29+
"github.com/cosmos/cosmos-sdk/client/snapshot"
2930
"github.com/cosmos/cosmos-sdk/server"
3031
servertypes "github.com/cosmos/cosmos-sdk/server/types"
3132
"github.com/cosmos/cosmos-sdk/version"
@@ -180,6 +181,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
180181
queryCommand(),
181182
txCommand(),
182183
keys.Commands(),
184+
snapshot.Cmd(ac.newApp),
183185
)
184186
}
185187

0 commit comments

Comments
 (0)