diff --git a/substrate/frame/src/lib.rs b/substrate/frame/src/lib.rs index 798e80fd1343..f05549e4d79f 100644 --- a/substrate/frame/src/lib.rs +++ b/substrate/frame/src/lib.rs @@ -204,8 +204,8 @@ pub mod prelude { #[doc(no_inline)] pub use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; pub use frame_support::traits::{ - Contains, EstimateNextSessionRotation, Everything, InsideBoth, InstanceFilter, IsSubType, OnRuntimeUpgrade, - VariantCount, VariantCountOf, OneSessionHandler, + Contains, EstimateNextSessionRotation, Everything, InsideBoth, InstanceFilter, IsSubType, + OnRuntimeUpgrade, OneSessionHandler, VariantCount, VariantCountOf, }; /// Pallet prelude of `frame-system`. @@ -238,7 +238,8 @@ pub mod prelude { /// Other runtime types and traits #[doc(no_inline)] - pub use sp_runtime::{BoundToRuntimeAppPublic, + pub use sp_runtime::{ + BoundToRuntimeAppPublic, DispatchError::{self, BadOrigin}, DispatchErrorWithPostInfo, DispatchResultWithInfo, TokenError, }; diff --git a/substrate/frame/tips/src/migrations/unreserve_deposits.rs b/substrate/frame/tips/src/migrations/unreserve_deposits.rs index c0ecdbd32cb0..31cf57c5c6f9 100644 --- a/substrate/frame/tips/src/migrations/unreserve_deposits.rs +++ b/substrate/frame/tips/src/migrations/unreserve_deposits.rs @@ -53,7 +53,7 @@ pub trait UnlockConfig: 'static { /// Should match the currency type previously used for the pallet, if applicable. type DataDepositPerByte: Get>; /// The name of the pallet as previously configured in - /// [`construct_runtime!`](frame_support::construct_runtime). + /// [`construct_runtime!`](construct_runtime). type PalletName: Get<&'static str>; /// The DB weight as configured in the runtime to calculate the correct weight. type DbWeight: Get;