fix: homedir consistency (#561)
* fix export homedir * Changelog updated Co-authored-by: Hanchon <guillermo.paoletti@gmail.com>
This commit is contained in:
parent
644ae50410
commit
ec7d8a37fd
@ -55,6 +55,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
|||||||
|
|
||||||
* (encoding) [tharsis#478](https://github.com/tharsis/ethermint/pull/478) Register `Evidence` to amino codec.
|
* (encoding) [tharsis#478](https://github.com/tharsis/ethermint/pull/478) Register `Evidence` to amino codec.
|
||||||
* (rpc) [tharsis#478](https://github.com/tharsis/ethermint/pull/481) Getting the node configuration when calling the `miner` rpc methods.
|
* (rpc) [tharsis#478](https://github.com/tharsis/ethermint/pull/481) Getting the node configuration when calling the `miner` rpc methods.
|
||||||
|
* (cli) [tharsis#561](https://github.com/tharsis/ethermint/pull/561) `Export` and `Start` commands now use the same home directory.
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
|
@ -14,8 +14,6 @@ import (
|
|||||||
|
|
||||||
tmlog "github.com/tendermint/tendermint/libs/log"
|
tmlog "github.com/tendermint/tendermint/libs/log"
|
||||||
rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client"
|
rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client"
|
||||||
|
|
||||||
"github.com/tharsis/ethermint/app"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// add server commands
|
// add server commands
|
||||||
@ -39,7 +37,7 @@ func AddCommands(rootCmd *cobra.Command, defaultNodeHome string, appCreator type
|
|||||||
startCmd,
|
startCmd,
|
||||||
sdkserver.UnsafeResetAllCmd(),
|
sdkserver.UnsafeResetAllCmd(),
|
||||||
tendermintCmd,
|
tendermintCmd,
|
||||||
sdkserver.ExportCmd(appExport, app.DefaultNodeHome),
|
sdkserver.ExportCmd(appExport, defaultNodeHome),
|
||||||
version.NewVersionCommand(),
|
version.NewVersionCommand(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user