diff --git a/Cargo.lock b/Cargo.lock index a9119fc..1493d35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3102,7 +3102,6 @@ name = "pvq-test-runner" version = "0.1.0" dependencies = [ "clap", - "hex", "parity-scale-codec", "polkavm", "pvq-executor", diff --git a/Cargo.toml b/Cargo.toml index c20cd7b..e3ba60e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,6 @@ scale-info = { version = "2.11.3", default-features = false, features = [ "derive", ] } tracing = { version = "0.1.40", default-features = false } -hex = { version = "0.4" } # std clap = { version = "4.5.4", features = ["derive"] } diff --git a/pvq-test-runner/Cargo.toml b/pvq-test-runner/Cargo.toml index 1d92a05..a1a8f98 100644 --- a/pvq-test-runner/Cargo.toml +++ b/pvq-test-runner/Cargo.toml @@ -22,5 +22,3 @@ pvq-extension-fungibles = { workspace = true, features = ["std"] } pvq-primitives = { workspace = true, features = ["std"] } polkavm = { workspace = true, features = ["std"] } - -hex = { workspace = true, features = ["std"] } diff --git a/pvq-test-runner/src/lib.rs b/pvq-test-runner/src/lib.rs index c9f1777..4174fbe 100644 --- a/pvq-test-runner/src/lib.rs +++ b/pvq-test-runner/src/lib.rs @@ -1,6 +1,7 @@ use parity_scale_codec::Encode; use pvq_extension::{extensions_impl, ExtensionsExecutor, InvokeSource}; use sp_core::crypto::{AccountId32, Ss58Codec}; +use sp_core::hexdisplay::HexDisplay; #[derive(Encode)] #[allow(non_camel_case_types)] @@ -75,7 +76,7 @@ impl TestRunner { .encode(), ); } - tracing::info!("Input data (hex): {}", hex::encode(&input_data)); + tracing::info!("Input data (hex): {}", HexDisplay::from(&input_data)); input_data }