Re-export current primitives in crate root (#6487)

* Re-export current primitives in crate root

* Add missing exports

* restart CI
This commit is contained in:
s0me0ne-unkn0wn
2023-01-11 12:28:12 +01:00
committed by GitHub
parent b0f79c2039
commit 1cb1d03c08
221 changed files with 399 additions and 397 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ pub mod weights;
/// Money matters.
pub mod currency {
use primitives::v2::Balance;
use primitives::Balance;
/// The existential deposit.
pub const EXISTENTIAL_DEPOSIT: Balance = 1 * CENTS;
@@ -38,7 +38,7 @@ pub mod currency {
/// Time and blocks.
pub mod time {
use primitives::v2::{BlockNumber, Moment};
use primitives::{BlockNumber, Moment};
use runtime_common::prod_or_fast;
pub const MILLISECS_PER_BLOCK: Moment = 6000;
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
@@ -63,7 +63,7 @@ pub mod fee {
use frame_support::weights::{
WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial,
};
use primitives::v2::Balance;
use primitives::Balance;
use smallvec::smallvec;
pub use sp_runtime::Perbill;