mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +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:
@@ -17,10 +17,7 @@
|
||||
|
||||
use frame_support::{
|
||||
assert_ok,
|
||||
dispatch::{
|
||||
DispatchClass, DispatchInfo, Dispatchable, GetDispatchInfo, Parameter, Pays,
|
||||
UnfilteredDispatchable,
|
||||
},
|
||||
dispatch::{DispatchClass, DispatchInfo, GetDispatchInfo, Parameter, Pays},
|
||||
dispatch_context::with_context,
|
||||
pallet_prelude::{StorageInfoTrait, ValueQuery},
|
||||
parameter_types,
|
||||
@@ -28,6 +25,7 @@ use frame_support::{
|
||||
traits::{
|
||||
ConstU32, GetCallIndex, GetCallName, GetStorageVersion, OnFinalize, OnGenesis,
|
||||
OnInitialize, OnRuntimeUpgrade, PalletError, PalletInfoAccess, StorageVersion,
|
||||
UnfilteredDispatchable,
|
||||
},
|
||||
weights::{RuntimeDbWeight, Weight},
|
||||
};
|
||||
@@ -37,7 +35,7 @@ use sp_io::{
|
||||
TestExternalities,
|
||||
};
|
||||
use sp_runtime::{
|
||||
traits::{Extrinsic as ExtrinsicT, SignaturePayload as SignaturePayloadT},
|
||||
traits::{Dispatchable, Extrinsic as ExtrinsicT, SignaturePayload as SignaturePayloadT},
|
||||
DispatchError, ModuleError,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user