Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(node): fixup CELESTIA_HOME #3759

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(node): fixup CELESTIA_HOME #3759

wants to merge 1 commit into from

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Sep 21, 2024

This mainly fixes the usage of CELESTIA_HOME env var. Previously, it worked like XDG_HOME in the form of $CELESTIA_HOME/.celestia-<network>-<type>. This change makes $CELESTIA_HOME the actual path to which node data goes.

This is promoted by me logging into the pods on Robusta and being tired of constantly passing the --node.store flag while CELESTIA_HOME is already set.


Besides, it contains a minor refactor to use respective types for node and network instead of strings.

@Wondertan Wondertan added the kind:fix Attached to bug-fixing PRs label Sep 21, 2024
@Wondertan Wondertan self-assigned this Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant