Skip to content

Commit

Permalink
feat: use private chain ID for single node (#1104)
Browse files Browse the repository at this point in the history
If you try connecting a local celestia-node instance to celestia-app
that is running via this script, it fails with:

```error
$ celestia bridge init --p2p.network "test"
Error: invalid network specified: test
```

Ref:

https://github.com/celestiaorg/celestia-node/blob/52048ce466d58c1688ba48de0a2656b27306634d/nodebuilder/p2p/network.go#L12-L19
  • Loading branch information
rootulp committed Dec 9, 2022
1 parent a82110a commit 76153bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/single-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -o errexit -o nounset

CHAINID="test"
CHAINID="private"

# Build genesis file incl account for passed address
coins="1000000000000000utia"
Expand Down

0 comments on commit 76153bf

Please sign in to comment.