[Polkadot Companion] for 7101 (#2470)

* [Polkadot Companion] for 7101

PR: https://github.com/paritytech/polkadot/pull/7101

* update lockfile for {"polkadot", "substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Marcin S
2023-04-21 13:04:39 +02:00
committed by GitHub
parent eced0cb3d5
commit 8615ac834c
4 changed files with 328 additions and 272 deletions
Generated
+325 -269
View File
File diff suppressed because it is too large Load Diff
@@ -8,7 +8,7 @@ build = "build.rs"
[dependencies] [dependencies]
# Polkadot # Polkadot
polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-node-core-pvf-worker = { git = "https://github.com/paritytech/polkadot", branch = "master" }
[build-dependencies] [build-dependencies]
toml = "0.7.3" toml = "0.7.3"
@@ -97,7 +97,7 @@ fn create_project(out_dir: &Path) -> PathBuf {
fs::write( fs::write(
project_dir.join("src").join("main.rs"), project_dir.join("src").join("main.rs"),
r#" r#"
cumulus_test_relay_validation_worker_provider::polkadot_node_core_pvf::decl_puppet_worker_main!(); cumulus_test_relay_validation_worker_provider::polkadot_node_core_pvf_worker::decl_puppet_worker_main!();
"#, "#,
) )
.expect("Writes `main.rs`"); .expect("Writes `main.rs`");
@@ -21,7 +21,7 @@
//! //!
//! !!This should only be used for tests!! //! !!This should only be used for tests!!
pub use polkadot_node_core_pvf; pub use polkadot_node_core_pvf_worker;
/// The path to the validation worker. /// The path to the validation worker.
pub const VALIDATION_WORKER: &str = concat!(env!("OUT_DIR"), "/validation-worker"); pub const VALIDATION_WORKER: &str = concat!(env!("OUT_DIR"), "/validation-worker");