mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
### Problem Introducing `--network` should make easy to container nodes to find each other. But this change was made half-way for the relayers, and it was using the external port to find the first datahaven node (usually Alice). So: - In cli launch, Alice node port mapping was left to random port `-p 9944` instead of `-p 9944:9944`. - Relayers couldn't connect to DataHaven nodes because they were using the external WS port (now random) instead of hitting the internal port (which for a cli launch we actually fix it to 9944). ### Solution - [x] **Fixed Docker port mapping**: Explicit `-p 9944:9944` for Alice node under network `cli-launch` - [x] **Enhanced container spec**: Added `internalPorts` tracking to `LaunchedNetwork` - [x] **Fixed relayer connections**: Use internal ports for container communication |
||
|---|---|---|
| .. | ||
| common | ||
| deploy | ||
| exec | ||
| launch | ||
| stop | ||
| index.ts | ||