mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
Move IsSubType and write some docs for the trait (#7350)
* Move `IsSubType` and write some docs for the trait This moves the `IsSubType` trait from dispatch.rs to traits.rs. It also adds docs to make the trait better understandable. * Update frame/support/src/traits.rs Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -294,12 +294,12 @@ use frame_support::{
|
||||
weights::{Weight, constants::{WEIGHT_PER_MICROS, WEIGHT_PER_NANOS}},
|
||||
storage::IterableStorageMap,
|
||||
dispatch::{
|
||||
IsSubType, DispatchResult, DispatchResultWithPostInfo, DispatchErrorWithPostInfo,
|
||||
DispatchResult, DispatchResultWithPostInfo, DispatchErrorWithPostInfo,
|
||||
WithPostDispatchInfo,
|
||||
},
|
||||
traits::{
|
||||
Currency, LockIdentifier, LockableCurrency, WithdrawReasons, OnUnbalanced, Imbalance, Get,
|
||||
UnixTime, EstimateNextNewSession, EnsureOrigin, CurrencyToVote,
|
||||
UnixTime, EstimateNextNewSession, EnsureOrigin, CurrencyToVote, IsSubType,
|
||||
}
|
||||
};
|
||||
use pallet_session::historical;
|
||||
|
||||
Reference in New Issue
Block a user