mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 11:11:03 +00:00
Restructure dispatch macro related exports (#1162)
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: command-bot <> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -56,7 +56,7 @@ pub mod weights;
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use frame_support::{
|
||||
dispatch::{DispatchResult, Dispatchable, GetDispatchInfo},
|
||||
dispatch::{DispatchResult, GetDispatchInfo},
|
||||
ensure,
|
||||
pallet_prelude::MaxEncodedLen,
|
||||
storage::bounded_vec::BoundedVec,
|
||||
@@ -65,7 +65,7 @@ use frame_support::{
|
||||
};
|
||||
pub use pallet::*;
|
||||
use sp_runtime::{
|
||||
traits::{AccountIdConversion, Saturating, Zero},
|
||||
traits::{AccountIdConversion, Dispatchable, Saturating, Zero},
|
||||
ArithmeticError, DispatchError, RuntimeDebug,
|
||||
};
|
||||
use sp_std::prelude::*;
|
||||
|
||||
Reference in New Issue
Block a user