mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
decl_module! macro: use 'frame_system' instead of system as default ident (#6500)
* Use frame_system as default ident. * Remove unused 'frame_system' to 'system' renaming. * Fix construct_runtime_ui tests. * Rename system to frame_system in sudo/utility pallet test. * Bump runtime impl_version. * Update formatting.
This commit is contained in:
@@ -101,7 +101,7 @@ use frame_support::{
|
||||
}
|
||||
};
|
||||
use sp_npos_elections::{build_support_map, ExtendedBalance, VoteWeight, ElectionResult};
|
||||
use frame_system::{self as system, ensure_signed, ensure_root};
|
||||
use frame_system::{ensure_signed, ensure_root};
|
||||
|
||||
mod benchmarking;
|
||||
|
||||
@@ -1060,7 +1060,6 @@ mod tests {
|
||||
traits::{BlakeTwo256, IdentityLookup, Block as BlockT},
|
||||
};
|
||||
use crate as elections_phragmen;
|
||||
use frame_system as system;
|
||||
|
||||
parameter_types! {
|
||||
pub const BlockHashCount: u64 = 250;
|
||||
@@ -1225,7 +1224,7 @@ mod tests {
|
||||
NodeBlock = Block,
|
||||
UncheckedExtrinsic = UncheckedExtrinsic
|
||||
{
|
||||
System: system::{Module, Call, Event<T>},
|
||||
System: frame_system::{Module, Call, Event<T>},
|
||||
Balances: pallet_balances::{Module, Call, Event<T>, Config<T>},
|
||||
Elections: elections_phragmen::{Module, Call, Event<T>, Config<T>},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user