Skip to content

Bug: Command line flag for using remote relay chain on Mangata node doesn't work #500

Description

@Curu24

Hello,

I tried to run Mangata 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 crashes on startup with this error:

Error: Input("Relay chain argument error: Invalid input: `rococo-local` only supported with `rococo-native` feature enabled.")
Main process exited, code=exited, status=1/FAILURE
polkadot.service: Failed with result 'exit-code'.

Here is the full config

ExecStart=/usr/local/bin/mangata \
  --name Polkadotters \
  --base-path '/var/lib/mangata' \
  --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
  --execution wasm \
  --wasm-execution Compiled \
  --collator \
  --force-authoring \
  --rpc-cors all \
  --chain /home/mangata_user/mangata-kusama-mainnet.json \
  --bootnodes=/dns/kusama-collator.mangatafinance.cloud/tcp/30333/p2p/12D3KooWSCufgHzV4fCwRijfH2k3abrpAJxTKxEvN1FDuRXA2U9x \
  --state-pruning=archive \
  --trie-cache-size 0 \
  --relay-chain-rpc-url ws://178.170.48.153:9944 \

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions