Parachain collator cannot produce blocks after acquiring a Relaychian slot. (best block #0, cannot author the 1st block from gensis)
It is getting some error below, parachain nodes fails to decode parent_head
passed by Relaychain.
https://github.com/paritytech/cumulus/blob/0c779d926beeb6e1f3f2aa777d9bcec792c0bdac/client/collator/src/lib.rs#L223
Debug log:
Jun 07 08:36:26 astar-alphanet-collator-node-0 astar-collator[64308]: 2022-06-07 08:36:26.675 ERROR tokio-runtime-worker cumulus-collator: [Parachain] Could not decode the head data. error=Error { cause: Some(Error { cause: Some(Error { cause: None, desc: "Could not decode `DigestItemType`, variant doesn't exist" }), desc: "Could not decode `Digest::logs`" }), desc: "Could not decode `Header::digest`" }
Jun 07 08:36:26 astar-alphanet-collator-node-0 astar-collator[64308]: 2022-06-07 08:36:26.675 DEBUG tokio-runtime-worker parachain::collation-generation: [Relaychain] collator returned no collation on collate para_id=2006
Could you teach me what could be the issue and how to avoid that?
Parachain: polkadot-0.9.19 Relaychain: westend based v0.9.23
Unlike this similar question (Parachain not producing blocks ? Error: Could not decode the head data), On-chain state of genesis-state (genesis head) & genesis-wasm (validationCode) properly starts with 0x
.