Skip to content

smoldot ExternalOffchainIndexSet doesn't set offchain storage. #2117

Description

@Wsteth

smoldot version: 0.19.3

Hi there,
I use chopsticks to test some offchain things.
the runtime code use offchain_index.set, but it doesn't work.
I found the problem occurs here.
https://github.com/smol-dot/smoldot/blob/37482d9a635a17f9e6a77aa245b4684b2f72e750/lib/src/executor/runtime_call.rs#L1750-L1759

It seems there is nothing done with add pending_storage_changes, and when I remove pending_storage_changes, I can get the storage value.

Metadata

Metadata

Assignees

No one assigned

    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