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
@@ -271,7 +271,11 @@ impl pezsp_externalities::Externalities for ValidationExternalities {
panic!("storage_root: unsupported feature for teyrchain validation")
}
fn child_storage_root(&mut self, _: &ChildInfo, _: pezsp_core::storage::StateVersion) -> Vec<u8> {
fn child_storage_root(
&mut self,
_: &ChildInfo,
_: pezsp_core::storage::StateVersion,
) -> Vec<u8> {
panic!("child_storage_root: unsupported feature for teyrchain validation")
}
+18 -16
View File
@@ -217,22 +217,24 @@ pub fn worker_entrypoint(
let compiled_artifact_blob = Arc::new(compiled_artifact_blob);
let raw_block_data =
match pezsp_maybe_compressed_blob::decompress(&pov.block_data.0, POV_BOMB_LIMIT) {
Ok(data) => data,
Err(_) => {
send_result::<WorkerResponse, WorkerError>(
&mut stream,
Ok(WorkerResponse {
job_response: JobResponse::PoVDecompressionFailure,
duration: Duration::ZERO,
pov_size: 0,
}),
worker_info,
)?;
continue;
},
};
let raw_block_data = match pezsp_maybe_compressed_blob::decompress(
&pov.block_data.0,
POV_BOMB_LIMIT,
) {
Ok(data) => data,
Err(_) => {
send_result::<WorkerResponse, WorkerError>(
&mut stream,
Ok(WorkerResponse {
job_response: JobResponse::PoVDecompressionFailure,
duration: Duration::ZERO,
pov_size: 0,
}),
worker_info,
)?;
continue;
},
};
let pov_size = raw_block_data.len() as u32;
+2 -2
View File
@@ -34,8 +34,8 @@ use pezkuwi_node_core_pvf_common::{
execute::{JobResponse, WorkerError, WorkerResponse},
SecurityStatus,
};
use pezkuwi_pez_node_primitives::PoV;
use pezkuwi_node_subsystem::{messages::PvfExecKind, ActiveLeavesUpdate};
use pezkuwi_pez_node_primitives::PoV;
use pezkuwi_primitives::{ExecutorParams, ExecutorParamsHash, Hash, PersistedValidationData};
use slotmap::HopSlotMap;
use std::{
@@ -908,8 +908,8 @@ impl Unscheduled {
#[cfg(test)]
mod tests {
use pezkuwi_pez_node_primitives::BlockData;
use pezkuwi_node_subsystem_test_helpers::mock::new_leaf;
use pezkuwi_pez_node_primitives::BlockData;
use pezsp_core::H256;
use super::*;
+1 -1
View File
@@ -38,10 +38,10 @@ use pezkuwi_node_core_pvf_common::{
prepare::PrepareSuccess,
pvf::PvfPrepData,
};
use pezkuwi_pez_node_primitives::PoV;
use pezkuwi_node_subsystem::{
messages::PvfExecKind, ActiveLeavesUpdate, SubsystemError, SubsystemResult,
};
use pezkuwi_pez_node_primitives::PoV;
use pezkuwi_primitives::{Hash, PersistedValidationData};
use pezkuwi_teyrchain_primitives::primitives::ValidationResult;
use std::{
+1 -1
View File
@@ -25,8 +25,8 @@ use pezkuwi_node_core_pvf::{
ValidationHost, JOB_TIMEOUT_WALL_CLOCK_FACTOR,
};
use pezkuwi_node_core_pvf_common::{compute_checksum, ArtifactChecksum};
use pezkuwi_pez_node_primitives::{PoV, POV_BOMB_LIMIT};
use pezkuwi_node_subsystem::messages::PvfExecKind;
use pezkuwi_pez_node_primitives::{PoV, POV_BOMB_LIMIT};
use pezkuwi_primitives::{
ExecutorParam, ExecutorParams, Hash, PersistedValidationData, PvfExecKind as RuntimePvfExecKind,
};
+1 -1
View File
@@ -28,9 +28,9 @@ use pezkuwi_primitives::PersistedValidationData;
use pezkuwi_teyrchain_primitives::primitives::{
BlockData as GenericBlockData, HeadData as GenericHeadData,
};
use pezsp_core::H256;
use procfs::process;
use rusty_fork::rusty_fork_test;
use pezsp_core::H256;
use std::{future::Future, sync::Arc, time::Duration};
use test_teyrchain_adder::{hash_state, BlockData, HeadData};