mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Revert "Move LockableCurrency trait to fungibles::Lockable and deprecate LockableCurrency (#12798)" (#12882)
This reverts commit 9a014d1ecd.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// This file is part of Substrate.
|
||||
|
||||
// Copyright (C) 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
@@ -66,12 +68,11 @@ use codec::{Codec, Encode};
|
||||
use frame_support::{
|
||||
ensure,
|
||||
traits::{
|
||||
fungibles,
|
||||
schedule::{
|
||||
v3::{Anon as ScheduleAnon, Named as ScheduleNamed},
|
||||
DispatchTime,
|
||||
},
|
||||
Currency, OnUnbalanced, OriginTrait, PollStatus, Polling, QueryPreimage,
|
||||
Currency, LockIdentifier, OnUnbalanced, OriginTrait, PollStatus, Polling, QueryPreimage,
|
||||
ReservableCurrency, StorePreimage, VoteTally,
|
||||
},
|
||||
BoundedVec,
|
||||
@@ -132,7 +133,7 @@ macro_rules! impl_tracksinfo_get {
|
||||
};
|
||||
}
|
||||
|
||||
const ASSEMBLY_ID: fungibles::LockIdentifier = *b"assembly";
|
||||
const ASSEMBLY_ID: LockIdentifier = *b"assembly";
|
||||
|
||||
#[frame_support::pallet]
|
||||
pub mod pallet {
|
||||
|
||||
Reference in New Issue
Block a user