Skip to content

Smoldot panic after initial parachain sync if the chain object was removed #3238

@voliva

Description

@voliva

After updating PAPI to use 3.1.1, I've seen in the dapps I've upgraded that smoldot panics after syncing. I'm still not sure why, but so far it only happens in browser (i.e. the PAPI CLI doesn't have any issue connecting to a parachain)

Smoldot will take some time to initialize, and then panic with:

Smoldot has panicked while executing task `runtime-asset-hub-polkadot`. This is a bug in smoldot. Please open an issue at https://github.com/smol-dot/smoldot/issues with the following message:
panicked at /__w/smoldot/smoldot/light-base/src/runtime_service.rs:1689:78:
called `Option::unwrap()` on a `None` value

Logs 3.1.1 (KO)
smoldot_3.1.1.txt

Logs 3.1.0 (OK)
smoldot_3.1.0.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions