From 84b061e14de90ada0b2ee22b5600c25af418510f Mon Sep 17 00:00:00 2001 From: clearloop <26088946+clearloop@users.noreply.github.com> Date: Thu, 20 Jul 2023 22:30:06 +0800 Subject: [PATCH] chore(gclient): remove dep gear-common --- Cargo.lock | 1 - gclient/Cargo.toml | 1 - gclient/src/api/calls.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eff2d814a17..5e24a8a7878 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3642,7 +3642,6 @@ dependencies = [ "env_logger", "futures", "futures-timer", - "gear-common", "gear-core", "gear-core-errors", "gear-utils", diff --git a/gclient/Cargo.toml b/gclient/Cargo.toml index fead831b437..10d3f74388b 100644 --- a/gclient/Cargo.toml +++ b/gclient/Cargo.toml @@ -10,7 +10,6 @@ gear-utils.workspace = true gsdk = { workspace = true, features = ["testing"] } gear-core.workspace = true gear-core-errors.workspace = true -gear-common = { workspace = true, features = ["std"] } futures.workspace = true anyhow.workspace = true diff --git a/gclient/src/api/calls.rs b/gclient/src/api/calls.rs index 37dc0121008..f8b95e77360 100644 --- a/gclient/src/api/calls.rs +++ b/gclient/src/api/calls.rs @@ -18,8 +18,8 @@ use super::{GearApi, Result}; use crate::{api::storage::account_id::IntoAccountId32, utils, Error}; -use gear_common::LockId; use gear_core::{ + gas::LockId, ids::*, memory::PageBuf, pages::{GearPage, PageNumber, PageU32Size, GEAR_PAGE_SIZE, WASM_PAGE_SIZE},