Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Polkadot Companion] for 7101 #2470

Merged
merged 2 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 34 additions & 13 deletions Cargo.lock
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should companions include changes to Cargo.lock? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can always re-generate it once polkadot pr lands

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/relay-validation-worker-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build = "build.rs"
[dependencies]

# 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]
toml = "0.7.3"
2 changes: 1 addition & 1 deletion test/relay-validation-worker-provider/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn create_project(out_dir: &Path) -> PathBuf {
fs::write(
project_dir.join("src").join("main.rs"),
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`");
Expand Down
2 changes: 1 addition & 1 deletion test/relay-validation-worker-provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//!
//! !!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.
pub const VALIDATION_WORKER: &str = concat!(env!("OUT_DIR"), "/validation-worker");