-
Notifications
You must be signed in to change notification settings - Fork 72
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
Bug: Command line flag for using remote relay chain on Altair/Centrifuge node doesn't work #1365
Comments
Hi @Curu24, It seems like you only can specify one URL as the relay chain. If you want to use |
Not really. As I mentioned with one url it ignores that flag completely. Plus on parachains where this feature works, there are no problems with providing multiple urls - which makes sense, because you don't want to rely on single relay node especially with more parachains connected to it. |
Have you tried to specify only one flag but several values? --relay-chain-rpc-url ws://57.129.1.46:9944,ws://194.163.154.254:9944 The doc for this flag found in Cumulus can expect several arguments |
for this setup I got following error: |
Not sure what the delimiter is, and now I can not test it. By default, it is |
But it doesn't work even with single argument. |
From the cumulus readme, maybe what you're looking for is --relay-chain-rpc-urls \
"ws://relaychain-rpc-endpoint:9944" \
"ws://relaychain-rpc-endpoint-backup:9944" \ Does this work for you? |
this gives following error: But please note, it's not my point to make it work with 2 urls. |
Ok, I see. What version are you using o the centrifuge node? Probably is not a recent one. You can know it with the following command: /usr/local/bin/centrifuge --version |
it's 0.10.26, so up until today it was the recent one |
Unfortunately, v0.10.27 will be the first version which supports this command together with collation. We added support in #1241, see here, which is not part of 0.10.26. Due to the addition of EVM support in v0.10.27, you probably have to wait with updating your client until the runtime code is updated on Altair to 1027 and Centrifuge to 1019. And just for clarification, for now, |
Hello,
I tried to run Altair/Centrifuge collator with relay-chain-rpc-url flag to specify a remote relay chain RPC to be used instead of the embedded one but the node process ignores it and starts syncing relay chain locally. When provided with 2 relay-chain-rpc-url flags it crashes with this error:
Here is the full config
The text was updated successfully, but these errors were encountered: