diff --git a/lib/src/executor/host.rs b/lib/src/executor/host.rs index ccaa7eeb85..82bad390d2 100644 --- a/lib/src/executor/host.rs +++ b/lib/src/executor/host.rs @@ -2478,6 +2478,7 @@ impl ExternalStorageClearPrefix { match host_fn { HostFunction::ext_storage_clear_prefix_version_1 + | HostFunction::ext_default_child_storage_clear_prefix_version_1 | HostFunction::ext_default_child_storage_storage_kill_version_1 => { HostVm::ReadyToRun(ReadyToRun { inner: self.inner, @@ -2491,6 +2492,7 @@ impl ExternalStorageClearPrefix { }) } HostFunction::ext_storage_clear_prefix_version_2 + | HostFunction::ext_default_child_storage_clear_prefix_version_2 | HostFunction::ext_default_child_storage_storage_kill_version_3 => { self.inner.alloc_write_and_return_pointer_size( host_fn.name(), diff --git a/wasm-node/CHANGELOG.md b/wasm-node/CHANGELOG.md index a9d796b032..c7dd412f0c 100644 --- a/wasm-node/CHANGELOG.md +++ b/wasm-node/CHANGELOG.md @@ -10,6 +10,7 @@ - Smoldot no longer assumes that the runtime calls `ext_default_child_storage_root` in order to properly update the hashes of the child tries that have been modified. ([#743](https://github.com/smol-dot/smoldot/pull/743)) - Fix various mishandlings of child tries. ([#763](https://github.com/smol-dot/smoldot/pull/763)) +- Fix panic when the `ext_default_child_storage_clear_prefix_version_1` and `ext_default_child_storage_clear_prefix_version_2` functions are called. ([#764](https://github.com/smol-dot/smoldot/pull/764)) - Fix wrong trie root hash calculation with `state_version = 1`. ([#711](https://github.com/smol-dot/smoldot/pull/711)) - Fix bug when decoding BABE configuration produced by runtimes using version 1 of the `BabeApi` API. In practice, this should concern only old Kusama blocks. ([#739](https://github.com/smol-dot/smoldot/pull/739))