CELESTIA_CUSTOM: IPv6 bootstrapper addresses are silently ignored
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- networking
Research direction
Start in nodebuilder/p2p/flags.go and read parseNetworkFromEnv, then check its existing tests for custom network parsing. Reproduce the issue with a bootstrapper list containing both /ip6 and /ip4 addresses. Done means both addresses are registered for the custom network and the unit test passes.
Written by the indexing model from the issue text.
Description
Celestia Node version: main (nodebuilder/p2p/flags.go)
Steps to reproduce it
Set a custom network whose bootstrapper list contains an IPv6 multiaddr, e.g.
CELESTIA_CUSTOM='private:<genesis_hash>:/ip6/2001:db8::1/tcp/2121/p2p/<peer_id>,/ip4/10.0.0.1/tcp/2121/p2p/<peer_id>'
and start a node.
Expected result
Both bootstrappers are registered for the custom network.
Actual result
No bootstrapper is registered and there is no error. parseNetworkFromEnv splits the value with strings.Split(custom, ":"). An IPv6 multiaddr contains :, so the split returns more than three parts, len(params) == 3 is false, and the whole bootstrapper list is skipped (also the IPv4 entries). The network ID and genesis hash are still parsed, so the node starts on the custom network with no bootstrappers.
Notes
Splitting into at most three parts (strings.SplitN(custom, ":", 3)) keeps the bootstrapper list intact; the network ID and genesis hash cannot contain :. I have a small fix with a unit test (/ip6 + /ip4 peer list) and would like to open a PR for it if that works for you.
This issue was written with help from an AI assistant (Claude Code) and reviewed before submitting.
- Dominant language
- Go
- Stars
- 1k
- Forks
- 1.1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 55
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from celestiaorg/celestia-node
-
area:node good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
celestiaorg/celestia-node#1178 ·
Maintainers usually reply within 1 day
-
nodebuilder: preserve the existing config when config-update failsPossibly taken @guagucai claimed this 2 days ago. Openexternal needs:triage
Difficulty 3/5 1-2 days Newbie friendliness 25/100
celestiaorg/celestia-node#5436 ·
Maintainers usually reply within 1 day
-
api/client: New fails with a TLS core endpoint because the fibre state client dials insecurelyMay be free again A pull request for this issue was closed without being merged. Openexternal needs:triage
Difficulty 4/5 3-5 days Newbie friendliness 62/100
celestiaorg/celestia-node#5267 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
celestiaorg/celestia-node#5237 ·
Maintainers usually reply within 1 day
-
api/rpc/client: Close namespace connectionsPossibly taken @neyy91 claimed this 102 days ago. Openexternal needs:triage stale
Difficulty 3/5 1-2 days Newbie friendliness 72/100
celestiaorg/celestia-node#5188 ·
Maintainers usually reply within 1 day
All issues in celestiaorg/celestia-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
containers/gvisor-tap-vsock#796 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPossibly taken @huanghaoyuanhhy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zilliztech/milvus-backup#1418 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/nuclei#8423 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
eugenioenko/ttt#1909 ·
Maintainers usually reply within 1 day