chore: regenerate umbrella crate, fix feature propagation

This commit is contained in:
2025-12-16 11:28:32 +03:00
parent dd6d48f528
commit 620b0e3aa0
1358 changed files with 9464 additions and 7656 deletions
+6 -3
View File
@@ -573,8 +573,9 @@ pub struct NativeElseWasmExecutor<D: NativeExecutionDispatch> {
/// Native runtime version info.
native_version: NativeVersion,
/// Fallback wasm executor.
wasm:
WasmExecutor<ExtendedHostFunctions<pezsp_io::BizinikiwiHostFunctions, D::ExtendHostFunctions>>,
wasm: WasmExecutor<
ExtendedHostFunctions<pezsp_io::BizinikiwiHostFunctions, D::ExtendHostFunctions>,
>,
use_native: bool,
}
@@ -745,7 +746,9 @@ impl<D: NativeExecutionDispatch> Clone for NativeElseWasmExecutor<D> {
}
#[allow(deprecated)]
impl<D: NativeExecutionDispatch> pezsp_core::traits::ReadRuntimeVersion for NativeElseWasmExecutor<D> {
impl<D: NativeExecutionDispatch> pezsp_core::traits::ReadRuntimeVersion
for NativeElseWasmExecutor<D>
{
fn read_runtime_version(
&self,
wasm_code: &[u8],
@@ -29,10 +29,10 @@ use pezsc_executor_common::{
runtime_blob::RuntimeBlob,
wasm_runtime::{HeapAllocStrategy, WasmInstance, WasmModule},
};
use schnellru::{ByLength, LruMap};
use pezsp_core::traits::{Externalities, FetchRuntimeCode, RuntimeCode};
use pezsp_version::RuntimeVersion;
use pezsp_wasm_interface::HostFunctions;
use schnellru::{ByLength, LruMap};
use std::{
panic::AssertUnwindSafe,
@@ -53,7 +53,8 @@ pub enum WasmExecutionMethod {
impl Default for WasmExecutionMethod {
fn default() -> Self {
Self::Compiled {
instantiation_strategy: pezsc_executor_wasmtime::InstantiationStrategy::PoolingCopyOnWrite,
instantiation_strategy:
pezsc_executor_wasmtime::InstantiationStrategy::PoolingCopyOnWrite,
}
}
}
@@ -445,11 +446,11 @@ mod tests {
use super::*;
use alloc::borrow::Cow;
use bizinikiwi_test_runtime::Block;
use codec::Encode;
use pezsp_api::{Core, RuntimeApiInfo};
use pezsp_version::{create_apis_vec, RuntimeVersion};
use pezsp_wasm_interface::HostFunctions;
use bizinikiwi_test_runtime::Block;
#[derive(Encode)]
pub struct OldRuntimeVersion {