-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate pallet-tx-pause
to umbrella crate
#6630
base: master
Are you sure you want to change the base?
Conversation
User @bennethxyz, please sign the CLA here. |
substrate/frame/tx-pause/src/mock.rs
Outdated
use frame::{ | ||
prelude::frame_system, | ||
runtime::{ | ||
prelude::{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preludes are meant to be imported as prelude::*.
Please read the instructions of the tracking issue as to how to do this migration more carefully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kianenigma There are cases where only one item is needed in the prelude
I believe the recent changes follows the guidelines @re-gius |
please review @re-gius |
substrate/frame/src/lib.rs
Outdated
}; | ||
} | ||
|
||
/// Utility traits not tied to any direct operation in the runtime. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer having those directly inside the right prelude, I don't find any added value in a utility
module unless you need to use it in different preludes.
Review required! Latest push from author must always be reviewed |
Part of #6504
polkadot address: 15rM9idTv1izwNFqPabfcT4jkqHDsEvHSa5fASAUZwZcS4Yw