Skip to content

Commit 9434b1d

Browse files
committed
update DumpIavlRoot support rocksdb backend
1 parent 19c36df commit 9434b1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/chain-maind/app/dump_root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ func DumpIavlRoot(storeNames []string) *cobra.Command {
9292
}
9393

9494
cmd := &cobra.Command{
95-
Use: "dump-iavl-root",
95+
Use: "dump-iavl-root [dir]",
9696
Short: "dump iavl root at version [dir]",
97+
Long: "dump iavl root at version [dir]. To support dumping rocksdb, it should use this https://github.com/cosmos/cosmos-db/blob/9221ee7e2bccf314eff49f89092dd0767588d76e/rocksdb.go#L51.",
9798
Args: cobra.ExactArgs(1),
9899
RunE: func(cmd *cobra.Command, args []string) error {
99100
dir := args[0]

0 commit comments

Comments
 (0)