datahaven/test/cli/handlers
Gonza Montiel 10362d3361
fix: 🔌 CLI connection issues (#119)
### 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
2025-07-21 15:02:25 +02:00
..
common test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
deploy fix: 🔌 CLI connection issues (#119) 2025-07-21 15:02:25 +02:00
exec test: New CLI functions (#84) 2025-05-22 20:02:12 +00:00
launch fix: 🔌 CLI connection issues (#119) 2025-07-21 15:02:25 +02:00
stop test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
index.ts feat: 🚀 Add deploy command to CLI (#87) 2025-06-12 10:24:03 +02:00