mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41: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:
@@ -13,19 +13,16 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use frame_support::{
|
||||
pallet_prelude::DispatchError,
|
||||
traits::{
|
||||
fungibles::{Balanced, Create, HandleImbalanceDrop, Inspect, Mutate, Unbalanced},
|
||||
tokens::{
|
||||
DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence,
|
||||
},
|
||||
AccountTouch, Contains, ContainsPair, Get, PalletInfoAccess,
|
||||
use frame_support::traits::{
|
||||
fungibles::{Balanced, Create, HandleImbalanceDrop, Inspect, Mutate, Unbalanced},
|
||||
tokens::{
|
||||
DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence,
|
||||
},
|
||||
AccountTouch, Contains, ContainsPair, Get, PalletInfoAccess,
|
||||
};
|
||||
use pallet_asset_conversion::{MultiAssetIdConversionResult, MultiAssetIdConverter};
|
||||
use parachains_common::AccountId;
|
||||
use sp_runtime::{traits::MaybeEquivalence, DispatchResult};
|
||||
use sp_runtime::{traits::MaybeEquivalence, DispatchError, DispatchResult};
|
||||
use sp_std::{boxed::Box, marker::PhantomData};
|
||||
use xcm::latest::MultiLocation;
|
||||
|
||||
|
||||
@@ -15,13 +15,14 @@
|
||||
|
||||
use crate::OriginCaller;
|
||||
use frame_support::{
|
||||
dispatch::{DispatchError, DispatchResultWithPostInfo},
|
||||
dispatch::DispatchResultWithPostInfo,
|
||||
traits::{Currency, Get, Imbalance, OnUnbalanced, OriginTrait, PrivilegeCmp},
|
||||
weights::Weight,
|
||||
};
|
||||
use log;
|
||||
use pallet_alliance::{ProposalIndex, ProposalProvider};
|
||||
use parachains_common::impls::NegativeImbalance;
|
||||
use sp_runtime::DispatchError;
|
||||
use sp_std::{cmp::Ordering, marker::PhantomData, prelude::*};
|
||||
use xcm::latest::{Fungibility, Junction, Parent};
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ use cumulus_primitives_core::{
|
||||
use cumulus_primitives_parachain_inherent::ParachainInherentData;
|
||||
use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder;
|
||||
use frame_support::{
|
||||
dispatch::{DispatchResult, RawOrigin, UnfilteredDispatchable},
|
||||
dispatch::{DispatchResult, RawOrigin},
|
||||
inherent::{InherentData, ProvideInherent},
|
||||
traits::{OnFinalize, OnInitialize, OriginTrait},
|
||||
traits::{OnFinalize, OnInitialize, OriginTrait, UnfilteredDispatchable},
|
||||
weights::Weight,
|
||||
};
|
||||
use frame_system::pallet_prelude::{BlockNumberFor, HeaderFor};
|
||||
|
||||
Reference in New Issue
Block a user