Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
ree
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Sep 21, 2023
1 parent ef65301 commit fab56e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cosmos/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ func ReadConfigFromAppOpts(opts servertypes.AppOptions) (*Config, error) {
if conf.Node.DataDir, err = getString(flagDataDir); err != nil {
return nil, handleError(err)
}
if conf.Node.DataDir == "" {
conf.Node.DataDir = node.DefaultDataDir()
}
if conf.Node.KeyStoreDir, err = getString(flagKeyStoreDir); err != nil {
return nil, handleError(err)
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/hive/clients/polard/config/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ user-ident = ""
version = ""

# Directory for storing node data
data-dir = "/Users/dev/Library/Ethereum"
data-dir = ""

# Directory for storing node keys
key-store-dir = ""
Expand Down
2 changes: 1 addition & 1 deletion e2e/precompile/polard/config/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ user-ident = ""
version = ""

# Directory for storing node data
data-dir = "/Users/dev/Library/Ethereum"
data-dir = ""

# Directory for storing node keys
key-store-dir = ""
Expand Down
2 changes: 1 addition & 1 deletion e2e/testapp/docker/local/config/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ user-ident = ""
version = ""

# Directory for storing node data
data-dir = "/Users/dev/Library/Ethereum"
data-dir = ""

# Directory for storing node keys
key-store-dir = ""
Expand Down

0 comments on commit fab56e8

Please sign in to comment.