diff --git a/Cargo.lock b/Cargo.lock index 25cf17816a9..4262bdebdc7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3868,6 +3868,7 @@ dependencies = [ "futures", "gear-core", "gear-core-errors", + "gear-runtime-primitives", "gmeta", "gsdk", "hex", @@ -3887,7 +3888,6 @@ dependencies = [ "sp-io", "thiserror", "tokio", - "vara-runtime", "wasmi 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)", "which", "whoami", diff --git a/gcli/Cargo.toml b/gcli/Cargo.toml index 5ae78c79334..3bb0dcb1b35 100644 --- a/gcli/Cargo.toml +++ b/gcli/Cargo.toml @@ -42,6 +42,7 @@ reqwest = { workspace = true, default-features = false, features = [ "json", "ru etc.workspace = true sp-io = { workspace = true, features = [ "std" ] } sp-core = { workspace = true, features = [ "std" ] } +runtime-primitives.workspace = true # TODO: use wasmi from workspace (#3214) wasmi = { version = "0.30.0", features = ["std"] } @@ -51,7 +52,6 @@ demo-messager.workspace = true demo-new-meta.workspace = true demo-waiter.workspace = true gsdk = { workspace = true, features = ["testing"] } -vara-runtime = { workspace = true, features = [ "std", "dev" ] } [build-dependencies] which.workspace = true diff --git a/gcli/src/app.rs b/gcli/src/app.rs index 0946db8cff2..7075d13b86d 100644 --- a/gcli/src/app.rs +++ b/gcli/src/app.rs @@ -111,7 +111,7 @@ pub trait App: Parser + Sync { /// and verbose level. async fn run(&self) -> Result<()> { color_eyre::install()?; - sp_core::crypto::set_default_ss58_version(crate::VARA_SS58_PREFIX.into()); + sp_core::crypto::set_default_ss58_version(runtime_primitives::VARA_SS58_PREFIX.into()); let name = Self::command().get_name().to_string(); let filter = match self.verbose() {