Skip to content

Commit 3a701ce

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 bffc38a commit 3a701ce

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
@@ -47,7 +47,7 @@ use frame_support::{
4747
decl_module, decl_event, decl_storage, ensure, decl_error,
4848
traits::{Currency, EnsureOrigin, ReservableCurrency, OnUnbalanced, Get},
4949
};
50-
use frame_system::{self as system, ensure_signed};
50+
use frame_system::ensure_signed;
5151

5252
type BalanceOf<T> = <<T as Trait>::Currency as Currency<<T as frame_system::Trait>::AccountId>>::Balance;
5353
type NegativeImbalanceOf<T> = <<T as Trait>::Currency as Currency<<T as frame_system::Trait>::AccountId>>::NegativeImbalance;

0 commit comments

Comments
 (0)