Skip to content

Incorrect usage of CELESTIA_HOME #4207

Closed as not planned
Closed as not planned
@adlerjohn

Description

@adlerjohn

The behavior of CELESTIA_HOME is incorrect. Currently, celestia-node files are placed directly into $CELESTIA_HOME/:

home := os.Getenv("CELESTIA_HOME")
if home != "" {
return home, nil
}

celestia-app on the other hand places files in $CELESTIA_HOME/.celestia-app:
https://github.com/celestiaorg/celestia-app/blob/a8b76b3b9ebaef8bbc89b7c0c293390d74359433/app/init.go#L16-L22

Behavior should be changed to similarly place files in a subdirectory.

Metadata

Metadata

Assignees

Labels

area:configCLI and configkind:fixAttached to bug-fixing PRs

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions