-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable superfluous ws.port flag to fix some Hive RPC tests #8909
Conversation
What's the test case fixed by the TTD reshuffle? Could you elaborate on what's happening there? |
A test uses clique with |
Hmm. Where is that code it Hive? It sounds to me that we should fix it there rather than on our side. |
Now, I did find an erigon-specific bug on Hive's side, will PR a fix, and link it here. |
ethereum/hive#953 depends on this (for ws.port) |
To my mind yes, if we say |
Reverted the TTD condition order shuffle in favour of a change into Hive |
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: #8909 This PR fixes this by updating the devnet `NodeArgs` struct to set the corresponding `--ws.port` `arg` tag which now exists.
Context
Websocket port flag
Hive tests for RPC suite depend on the (geth) default 8546 port. So, opening one more listener for this additional port if
ws.port
was specified. This flag isn't used in Erigon, as it shares port with http listener. Normally, one may not specify and it offers no other benefit.