Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -34,7 +34,7 @@ use pezkuwi_node_core_pvf_common::{
|
||||
execute::{JobResponse, WorkerError, WorkerResponse},
|
||||
SecurityStatus,
|
||||
};
|
||||
use pezkuwi_node_primitives::PoV;
|
||||
use pezkuwi_pez_node_primitives::PoV;
|
||||
use pezkuwi_node_subsystem::{messages::PvfExecKind, ActiveLeavesUpdate};
|
||||
use pezkuwi_primitives::{ExecutorParams, ExecutorParamsHash, Hash, PersistedValidationData};
|
||||
use slotmap::HopSlotMap;
|
||||
@@ -908,7 +908,7 @@ impl Unscheduled {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use pezkuwi_node_primitives::BlockData;
|
||||
use pezkuwi_pez_node_primitives::BlockData;
|
||||
use pezkuwi_node_subsystem_test_helpers::mock::new_leaf;
|
||||
use pezsp_core::H256;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ use pezkuwi_node_core_pvf_common::{
|
||||
execute::{Handshake, WorkerError, WorkerResponse},
|
||||
worker_dir, ArtifactChecksum, SecurityStatus,
|
||||
};
|
||||
use pezkuwi_node_primitives::PoV;
|
||||
use pezkuwi_pez_node_primitives::PoV;
|
||||
use pezkuwi_primitives::{ExecutorParams, PersistedValidationData};
|
||||
use std::{path::Path, sync::Arc, time::Duration};
|
||||
use tokio::{io, net::UnixStream};
|
||||
|
||||
@@ -38,7 +38,7 @@ use pezkuwi_node_core_pvf_common::{
|
||||
prepare::PrepareSuccess,
|
||||
pvf::PvfPrepData,
|
||||
};
|
||||
use pezkuwi_node_primitives::PoV;
|
||||
use pezkuwi_pez_node_primitives::PoV;
|
||||
use pezkuwi_node_subsystem::{
|
||||
messages::PvfExecKind, ActiveLeavesUpdate, SubsystemError, SubsystemResult,
|
||||
};
|
||||
@@ -1054,7 +1054,7 @@ pub(crate) mod tests {
|
||||
use crate::{artifacts::generate_artifact_path, testing::artifact_id, PossiblyInvalidError};
|
||||
use assert_matches::assert_matches;
|
||||
use futures::future::BoxFuture;
|
||||
use pezkuwi_node_primitives::BlockData;
|
||||
use pezkuwi_pez_node_primitives::BlockData;
|
||||
use pezsp_core::H256;
|
||||
|
||||
const TEST_EXECUTION_TIMEOUT: Duration = Duration::from_secs(3);
|
||||
|
||||
@@ -24,7 +24,7 @@ pub use crate::{
|
||||
use crate::{artifacts::ArtifactId, get_worker_version};
|
||||
use is_executable::IsExecutable;
|
||||
use pezkuwi_node_core_pvf_common::pvf::PvfPrepData;
|
||||
use pezkuwi_node_primitives::NODE_VERSION;
|
||||
use pezkuwi_pez_node_primitives::NODE_VERSION;
|
||||
use pezkuwi_primitives::ExecutorParams;
|
||||
use std::{
|
||||
path::PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user