mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
adjust imports
This commit is contained in:
@@ -31,7 +31,7 @@ use sp_runtime::{
|
|||||||
create_runtime_str, generic, impl_opaque_keys,
|
create_runtime_str, generic, impl_opaque_keys,
|
||||||
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
||||||
transaction_validity::{TransactionSource, TransactionValidity},
|
transaction_validity::{TransactionSource, TransactionValidity},
|
||||||
ApplyExtrinsicResult,
|
ApplyExtrinsicResult, Perbill,
|
||||||
};
|
};
|
||||||
|
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::*;
|
||||||
@@ -636,7 +636,6 @@ impl cumulus_pallet_dmp_queue::Config for Runtime {
|
|||||||
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
||||||
}
|
}
|
||||||
|
|
||||||
use sp_runtime::Perbill;
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const Period: u32 = 6 * HOURS;
|
pub const Period: u32 = 6 * HOURS;
|
||||||
pub const Offset: u32 = 0;
|
pub const Offset: u32 = 0;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ use sp_runtime::{
|
|||||||
create_runtime_str, generic, impl_opaque_keys,
|
create_runtime_str, generic, impl_opaque_keys,
|
||||||
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
||||||
transaction_validity::{TransactionSource, TransactionValidity},
|
transaction_validity::{TransactionSource, TransactionValidity},
|
||||||
ApplyExtrinsicResult,
|
ApplyExtrinsicResult, Perbill,
|
||||||
};
|
};
|
||||||
|
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::*;
|
||||||
@@ -599,7 +599,6 @@ impl cumulus_pallet_dmp_queue::Config for Runtime {
|
|||||||
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
||||||
}
|
}
|
||||||
|
|
||||||
use sp_runtime::Perbill;
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const Period: u32 = 6 * HOURS;
|
pub const Period: u32 = 6 * HOURS;
|
||||||
pub const Offset: u32 = 0;
|
pub const Offset: u32 = 0;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ use sp_runtime::{
|
|||||||
create_runtime_str, generic, impl_opaque_keys,
|
create_runtime_str, generic, impl_opaque_keys,
|
||||||
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto},
|
||||||
transaction_validity::{TransactionSource, TransactionValidity},
|
transaction_validity::{TransactionSource, TransactionValidity},
|
||||||
ApplyExtrinsicResult,
|
ApplyExtrinsicResult, Perbill,
|
||||||
};
|
};
|
||||||
|
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::*;
|
||||||
@@ -598,7 +598,6 @@ impl cumulus_pallet_dmp_queue::Config for Runtime {
|
|||||||
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
|
||||||
}
|
}
|
||||||
|
|
||||||
use sp_runtime::Perbill;
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const Period: u32 = 6 * HOURS;
|
pub const Period: u32 = 6 * HOURS;
|
||||||
pub const Offset: u32 = 0;
|
pub const Offset: u32 = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user