-
Notifications
You must be signed in to change notification settings - Fork 798
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 safe mode to umbrella crate #6905
base: master
Are you sure you want to change the base?
Migrate pallet safe mode to umbrella crate #6905
Conversation
…github.com/Krayt78/polkadot-sdk into migrate-pallet-safe-mode-to-umbrella-crate
@@ -22,8 +22,7 @@ | |||
use super::*; | |||
use crate::mock::{RuntimeCall, *}; | |||
|
|||
use frame_support::{assert_err, assert_noop, assert_ok, hypothetically_ok, traits::Currency}; | |||
use sp_runtime::traits::Dispatchable; | |||
use frame::{deps::frame_support::hypothetically_ok, testing_prelude::*, traits::Currency}; |
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.
hypothetically_ok
can be reexported in testing_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.
the reason i didnt export it is because its only used in 2 crates, is it enough to justify putting it in the prelude ?
Part of #6504