From 4ae13a9ce36f89a93b2b5f32da9a64fdcdfd0fc0 Mon Sep 17 00:00:00 2001 From: clearloop Date: Tue, 9 Jan 2024 14:15:18 +0800 Subject: [PATCH] fix(crates-io): deps of gtest --- common/src/pallet_tests.rs | 3 +-- utils/crates-io/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/common/src/pallet_tests.rs b/common/src/pallet_tests.rs index 8fdb6b1a044..430084a134b 100644 --- a/common/src/pallet_tests.rs +++ b/common/src/pallet_tests.rs @@ -20,9 +20,8 @@ //! for various pallets of Substrate. //! All used types should be in scope. -use frame_support::{pallet_prelude::*, weights::RuntimeDbWeight}; +use frame_support::{pallet_prelude::*, sp_runtime::Perbill, weights::RuntimeDbWeight}; use frame_system::limits::BlockWeights; -use sp_arithmetic::Perbill; #[macro_export] macro_rules! impl_pallet_balances { diff --git a/utils/crates-io/src/lib.rs b/utils/crates-io/src/lib.rs index 4b79fdc6a3e..7c5fc79d22e 100644 --- a/utils/crates-io/src/lib.rs +++ b/utils/crates-io/src/lib.rs @@ -66,10 +66,10 @@ pub const STACKED_DEPENDENCIES: [&str; 13] = [ /// Packages need to be published. /// /// NOTE: DO NOT change the order of this array. -pub const PACKAGES: [&str; 5] = [ +pub const PACKAGES: [&str; 6] = [ "gear-wasm-builder", "gstd", - // "gtest", + "gtest", "gsdk", "gclient", "gcli",