mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Remove deprecated RawEvent types from some pallets (#11316)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -232,10 +232,6 @@ pub mod pallet {
|
|||||||
SwapCancelled { account: T::AccountId, proof: HashedProof },
|
SwapCancelled { account: T::AccountId, proof: HashedProof },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
#[pallet::call]
|
#[pallet::call]
|
||||||
impl<T: Config> Pallet<T> {
|
impl<T: Config> Pallet<T> {
|
||||||
/// Register a new atomic swap, declaring an intention to send funds from origin to target
|
/// Register a new atomic swap, declaring an intention to send funds from origin to target
|
||||||
|
|||||||
@@ -466,10 +466,6 @@ pub mod pallet {
|
|||||||
Slashed { who: T::AccountId, amount: T::Balance },
|
Slashed { who: T::AccountId, amount: T::Balance },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T, I = ()> = Event<T, I>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T, I = ()> {
|
pub enum Error<T, I = ()> {
|
||||||
/// Vesting balance too high to send value
|
/// Vesting balance too high to send value
|
||||||
|
|||||||
@@ -306,10 +306,6 @@ pub mod pallet {
|
|||||||
Closed { proposal_hash: T::Hash, yes: MemberCount, no: MemberCount },
|
Closed { proposal_hash: T::Hash, yes: MemberCount, no: MemberCount },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T, I = ()> = Event<T, I>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T, I = ()> {
|
pub enum Error<T, I = ()> {
|
||||||
/// Account is not a member
|
/// Account is not a member
|
||||||
|
|||||||
@@ -569,9 +569,6 @@ pub mod pallet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
/// Cannot vote when no candidates or members exist.
|
/// Cannot vote when no candidates or members exist.
|
||||||
|
|||||||
@@ -262,9 +262,6 @@ pub mod pallet {
|
|||||||
Resumed,
|
Resumed,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent = Event;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
/// Attempt to signal GRANDPA pause when the authority set isn't live
|
/// Attempt to signal GRANDPA pause when the authority set isn't live
|
||||||
|
|||||||
@@ -270,10 +270,6 @@ pub mod pallet {
|
|||||||
IndexFrozen { index: T::AccountIndex, who: T::AccountId },
|
IndexFrozen { index: T::AccountIndex, who: T::AccountId },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
/// The index was not already assigned.
|
/// The index was not already assigned.
|
||||||
|
|||||||
@@ -147,10 +147,6 @@ pub mod pallet {
|
|||||||
Dummy { _phantom_data: PhantomData<(T::AccountId, <T as Config<I>>::Event)> },
|
Dummy { _phantom_data: PhantomData<(T::AccountId, <T as Config<I>>::Event)> },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T, I = ()> = Event<T, I>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T, I = ()> {
|
pub enum Error<T, I = ()> {
|
||||||
/// Already a member.
|
/// Already a member.
|
||||||
|
|||||||
@@ -579,10 +579,6 @@ pub mod pallet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
/// There are too many proxies registered or too many announcements pending.
|
/// There are too many proxies registered or too many announcements pending.
|
||||||
|
|||||||
@@ -547,10 +547,6 @@ pub mod pallet {
|
|||||||
NewSession { session_index: SessionIndex },
|
NewSession { session_index: SessionIndex },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent = Event;
|
|
||||||
|
|
||||||
/// Error for the session pallet.
|
/// Error for the session pallet.
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
|
|||||||
@@ -513,10 +513,6 @@ pub mod pallet {
|
|||||||
Deposit { value: BalanceOf<T, I> },
|
Deposit { value: BalanceOf<T, I> },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T, I = ()> = Event<T, I>;
|
|
||||||
|
|
||||||
/// The first member.
|
/// The first member.
|
||||||
#[pallet::storage]
|
#[pallet::storage]
|
||||||
#[pallet::getter(fn founder)]
|
#[pallet::getter(fn founder)]
|
||||||
|
|||||||
@@ -509,10 +509,6 @@ pub mod pallet {
|
|||||||
Remarked { sender: T::AccountId, hash: T::Hash },
|
Remarked { sender: T::AccountId, hash: T::Hash },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
/// Error for the System pallet
|
/// Error for the System pallet
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
|
|||||||
@@ -195,10 +195,6 @@ pub mod pallet {
|
|||||||
TipSlashed { tip_hash: T::Hash, finder: T::AccountId, deposit: BalanceOf<T> },
|
TipSlashed { tip_hash: T::Hash, finder: T::AccountId, deposit: BalanceOf<T> },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T> = Event<T>;
|
|
||||||
|
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T> {
|
pub enum Error<T> {
|
||||||
/// The reason given is just too big.
|
/// The reason given is just too big.
|
||||||
|
|||||||
@@ -277,10 +277,6 @@ pub mod pallet {
|
|||||||
Deposit { value: BalanceOf<T, I> },
|
Deposit { value: BalanceOf<T, I> },
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Old name generated by `decl_event`.
|
|
||||||
#[deprecated(note = "use `Event` instead")]
|
|
||||||
pub type RawEvent<T, I = ()> = Event<T, I>;
|
|
||||||
|
|
||||||
/// Error for the treasury pallet.
|
/// Error for the treasury pallet.
|
||||||
#[pallet::error]
|
#[pallet::error]
|
||||||
pub enum Error<T, I = ()> {
|
pub enum Error<T, I = ()> {
|
||||||
|
|||||||
Reference in New Issue
Block a user