Module polkadot_node_core_pvf::testing
source · Expand description
Various utilities for testing.
Re-exports§
pub use crate::worker_interface::spawn_with_program_path;
pub use crate::worker_interface::SpawnErr;
Constants§
- The name of binary spawned to execute a PVF
- The name of binary spawned to prepare a PVF artifact
Functions§
- Creates a new PVF which artifact id can be uniquely identified by the given number.
- Retrieves the worker paths and builds workers as needed.
- A function that emulates the stitches together behaviors of the preparation and the execution worker in a single synchronous function.