Skip to content

Commit 7dbf064

Browse files
authored
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.
1 parent 386d9d7 commit 7dbf064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use frame_support::{
2828
decl_module, decl_storage, decl_event, decl_error,
2929
traits::{ChangeMembers, InitializeMembers, EnsureOrigin, Contains},
3030
};
31-
use frame_system::{self as system, ensure_signed};
31+
use frame_system::ensure_signed;
3232

3333
pub trait Trait<I=DefaultInstance>: frame_system::Trait {
3434
/// The overarching event type.

0 commit comments

Comments
 (0)