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

node store for mocha-2 in wrong location #2331

Closed
jcstein opened this issue Jun 6, 2023 · 1 comment
Closed

node store for mocha-2 in wrong location #2331

jcstein opened this issue Jun 6, 2023 · 1 comment
Labels
bug Something isn't working external Issues created by non node team members

Comments

@jcstein
Copy link
Member

jcstein commented Jun 6, 2023

Celestia Node version

v0.11.0-rc3

OS

macOS

Install tools

https://docs.celestia.org/nodes/light-node/#install-golang but v0.11.0-rc3

Others

No response

Steps to reproduce it

celestia light init

Expected result

node store is initialized in .celestia-light-mocha-2

Actual result

it is initialized in .celestia-light-mocha

Relevant log output

celestia light init
2023-06-06T10:51:36.517-0400	INFO	node	nodebuilder/init.go:28	Initializing Light Node Store over '/Users/joshstein/.celestia-light-mocha'
2023-06-06T10:51:36.518-0400	INFO	node	nodebuilder/init.go:60	Saved config	{"path": "/Users/joshstein/.celestia-light-mocha/config.toml"}
2023-06-06T10:51:36.518-0400	INFO	node	nodebuilder/init.go:62	Accessing keyring...
2023-06-06T10:51:36.520-0400	WARN	node	nodebuilder/init.go:191	Detected plaintext keyring backend. For elevated security properties, consider using the `file` keyring backend.
2023-06-06T10:51:36.522-0400	INFO	node	nodebuilder/init.go:69	Node Store initialized

Notes

Yes, initializing node with mocha-2 also results in an error

celestia light init --p2p.network mocha-2
Error: invalid network specified: mocha-2
Usage:
  celestia light init [flags]

Flags:
      --core.grpc.port string           Set a custom gRPC port for the core node connection. The --core.ip flag must also be provided. (default "9090")
      --core.ip string                  Indicates node to connect to the given core node. Example: <ip>, 127.0.0.1. <dns>, subdomain.domain.tld Assumes RPC port 26657 and gRPC port 9090 as default unless otherwise specified.
      --core.rpc.port string            Set a custom RPC port for the core node connection. The --core.ip flag must also be provided. (default "26657")
      --gateway                         Enables the REST gateway
      --gateway.addr string             Set a custom gateway listen address (default: localhost)
      --gateway.port string             Set a custom gateway port (default: 26659)
      --headers.trusted-hash string     Hex encoded header hash. Used to subjectively initialize header synchronization
      --headers.trusted-peers strings   Multiaddresses of a reliable peers to fetch headers from. (Format: multiformats.io/multiaddr)
  -h, --help                            help for init
      --keyring.accname string          Directs node's keyring signer to use the key prefixed with the given string.
      --keyring.backend string          Directs node's keyring signer to use the given backend. Default is test. (default "test")
      --log.level string                DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL
                                        and their lower-case forms (default "INFO")
      --log.level.module strings        <module>:<level>, e.g. pubsub:debug
      --metrics                         Enables OTLP metrics with HTTP exporter
      --metrics.endpoint string         Sets HTTP endpoint for OTLP metrics to be exported to. Depends on '--metrics' (default "localhost:4318")
      --metrics.tls                     Enable TLS connection to OTLP metric backend (default true)
      --node.config string              Path to a customized node config TOML file
      --node.store string               The path to root/home directory of your Celestia Node Store
      --p2p.metrics                     Enable libp2p metrics
      --p2p.mutual strings              Comma-separated multiaddresses of mutual peers to keep a prioritized connection with.
                                        Such connection is immune to peer scoring slashing and connection module trimming.
                                        Peers must bidirectionally point to each other. (Format: multiformats.io/multiaddr)

      --p2p.network string              The name of the network to connect to, e.g. mocha, blockspacerace-0, arabica-8. Must be passed on both init and start to take effect.
      --pprof                           Enables standard profiling handler (pprof) and exposes the profiles on port 6000
      --pyroscope                       Enables Pyroscope profiling
      --pyroscope.endpoint string       Sets HTTP endpoint for Pyroscope profiles to be exported to. Depends on '--pyroscope' (default "http://localhost:4040")
      --pyroscope.tracing               Enables Pyroscope tracing integration. Depends on --tracing
      --rpc.addr string                 Set a custom RPC listen address (default: localhost)
      --rpc.port string                 Set a custom RPC port (default: 26658)
      --tracing                         Enables OTLP tracing with HTTP exporter
      --tracing.endpoint string         Sets HTTP endpoint for OTLP traces to be exported to. Depends on '--tracing' (default "localhost:4318")
      --tracing.tls                     Enable TLS connection to OTLP tracing backend (default true)
@jcstein jcstein added the bug Something isn't working label Jun 6, 2023
@github-actions github-actions bot added the external Issues created by non node team members label Jun 6, 2023
@Wondertan
Copy link
Member

It's expected until #2326 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Issues created by non node team members
Projects
None yet
Development

No branches or pull requests

2 participants