-
Notifications
You must be signed in to change notification settings - Fork 93
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
rpc_port ignored in the configuration #1219
Comments
Hi @Dinonard, thanks for your feedback and to open this issue. Yes, the issue was introduced when we add support for As workaround, if you set |
This is a present issue when creating tomls that would be used with both zombienet-sdk and zombienet/cli. To start a network based on a toml, with zn-sdk, the nodes would need the I discovered this while working on: paritytech/polkadot-sdk#7257, and using the tomls with both |
Hi @iulianbarbu, which version of polkadot are you using? the |
I am using latest |
Issue Description
In case of a configuration such as this one:
The RPC port value will be ignored, and instead a random one will be used.
I assume it's due to this code:
wsPort
will always be defined, since in case it's omitted, a random one will be generated at that point.It's also a bit confusing to specify
ws_port
in the config file - both WS & HTTP are RPC ports.Maybe it would be better to use
rpc_port
and stop using thews_port
?Steps to reproduce the issue
Just specify
rpc_port
in the config file, as explained in the issue description.Describe the results you received
Random RPC port was used.
Describe the results you expected
The one I specified to be used.
Zombienet version
1.3.63
Provider
Native
Provider version
Upstream Latest Release
Yes
Additional environment details
None
Additional information
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: