erigon-pulse/cmd/devnet/args
milen b94ca6dc1c
devnet: fix ws port clash for state-sync scenario (#9125)
Getting an error in one of the bor nodes in devnet when trying to run
the "state-sync" scenario:
```
[EROR] [01-03|16:55:44.179] cli.StartRpcServer error                 err="could not start separate Websocket RPC api at port 8546: listen tcp 127.0.0.1:8546: bind: address already in use"
```

This happens for scenarios with more than 1 node.

Digging further this regressions has happened due to this change:
https://github.com/ledgerwatch/erigon/pull/8909

This PR fixes this by updating the devnet `NodeArgs` struct to set the
corresponding `--ws.port` `arg` tag which now exists.
2024-01-03 18:58:52 +00:00
..
args.go Devnet scenarios (#7723) 2023-06-14 12:35:22 +01:00
node_args_test.go devnet: fix ws port clash for state-sync scenario (#9125) 2024-01-03 18:58:52 +00:00
node_args.go devnet: fix ws port clash for state-sync scenario (#9125) 2024-01-03 18:58:52 +00:00