From 28912dd93dbe293345b230588f00e053b2bb0fb2 Mon Sep 17 00:00:00 2001 From: Andronik Date: Thu, 15 Sep 2022 14:25:03 +0200 Subject: [PATCH] node/core/pvf: strip some deps (#6016) --- Cargo.lock | 2 +- node/core/pvf/Cargo.toml | 2 +- node/core/pvf/src/metrics.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e97f66fda65a..5140c46e08a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6589,7 +6589,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-core-primitives", - "polkadot-node-subsystem-util", + "polkadot-node-metrics", "polkadot-parachain", "rand 0.8.5", "rayon", diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index c30b62589230..c4f6073ce4c7 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -24,7 +24,7 @@ rayon = "1.5.1" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } polkadot-parachain = { path = "../../../parachain" } polkadot-core-primitives = { path = "../../../core-primitives" } -polkadot-node-subsystem-util = { path = "../../subsystem-util"} +polkadot-node-metrics = { path = "../../metrics"} sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/pvf/src/metrics.rs b/node/core/pvf/src/metrics.rs index 615dd084d2af..df0c619989f2 100644 --- a/node/core/pvf/src/metrics.rs +++ b/node/core/pvf/src/metrics.rs @@ -16,7 +16,7 @@ //! Prometheus metrics related to the validation host. -use polkadot_node_subsystem_util::metrics::{self, prometheus}; +use polkadot_node_metrics::metrics::{self, prometheus}; /// Validation host metrics. #[derive(Default, Clone)]