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

Merged
merged 2 commits into from
Sep 23, 2024
Merged

fix(node): fixup CELESTIA_HOME #3759

merged 2 commits into from
Sep 23, 2024

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
@Wondertan Wondertan enabled auto-merge (squash) September 23, 2024 10:17
cmd/cel-key/node_types.go Show resolved Hide resolved
@Wondertan Wondertan merged commit 2a9acb4 into main Sep 23, 2024
22 checks passed
@Wondertan Wondertan deleted the fix-cel-home branch September 23, 2024 14:11
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.

3 participants