smol-dot / smoldot

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
GNU General Public License v3.0
188 stars 50 forks source link

Unable to use `chainHead_v1_call` on "Parallel" parachain #1985

Open josepot opened 1 month ago

josepot commented 1 month ago

When trying to use smoldot against the Parallel parachain, it seems like all the operation requests "fail" with an operationInaccessible event, and after trying a bit later we get the same result over and over.

These are the logs:

The chainSpec for this parachain is:

{
  "name": "Parallel",
  "id": "parallel",
  "chainType": "Live",
  "bootNodes": [
    "/dns/bootnode-1.parallel.fi/tcp/30333/p2p/12D3KooWA3ngBk5UuAvtvANXRJSTjdCT9bz7AcdBqmnR64m3tRWb",
    "/dns/bootnode-5.parallel.fi/tcp/30333/p2p/12D3KooWGxnMnE1AFriohESDGQnpYBzbxBpRDf3MFNu8yuobJBbF"
  ],
  "properties": {
    "ss58Format": 172,
    "tokenDecimals": 12,
    "tokenSymbol": "PARA"
  },
  "relay_chain": "polkadot",
  "para_id": 2012,
  "consensusEngine": null,
  "codeSubstitutes": {},
  "genesis": {
    "stateRootHash": "0xbe7040d6d2832c34c9925e9298e06f1f9818bc5ed62fbf0b57782c8ee7ea8ce1"
  }
}
tomaka commented 1 month ago

What happens is that the full nodes that we ask a Merkle proof from indicate that they're unable to answer the request (basically an error on their side). There's nothing indicating to smoldot what problem could have happened, so the way forward is to look at what the full node logs say.