-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
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.
smoldot/lib/src/executor/runtime_call.rs
Lines 1750 to 1759 in 37482d9
| host::HostVm::ExternalOffchainIndexSet(req) => { | |
| self.pending_storage_changes | |
| .offchain_storage_changes | |
| .insert( | |
| req.key().as_ref().to_vec(), | |
| req.value().map(|v| v.as_ref().to_vec()), | |
| ); | |
| self.vm = req.resume(); | |
| } |
It seems there is nothing done with add pending_storage_changes, and when I remove pending_storage_changes, I can get the storage value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels