mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Remove Purchase Pallet from Polkadot + Westend (#1636)
* Remove purchase pallet * Update runtime/common/src/purchase.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Actually check and fix compile * Add events to dummy * Fix kusama too * remove events where it did not exist historically Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -761,7 +761,9 @@ parameter_types! {
|
||||
pub const MaxPending: u16 = 32;
|
||||
}
|
||||
|
||||
impl<I: frame_support::traits::Instance> dummy::Trait<I> for Runtime { }
|
||||
impl<I: frame_support::traits::Instance> dummy::Trait<I> for Runtime {
|
||||
type Event = Event;
|
||||
}
|
||||
|
||||
/// The type used to represent the kinds of proxying allowed.
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug)]
|
||||
@@ -915,8 +917,8 @@ construct_runtime! {
|
||||
// Old parachains stuff. All dummies to avoid messing up the transaction indices.
|
||||
DummyParachains: dummy::<Instance0>::{Module, Call},
|
||||
DummyAttestations: dummy::<Instance1>::{Module, Call},
|
||||
DummySlots: dummy::<Instance2>::{Module, Call},
|
||||
DummyRegistrar: dummy::<Instance3>::{Module, Call},
|
||||
DummySlots: dummy::<Instance2>::{Module, Call, Event<T>},
|
||||
DummyRegistrar: dummy::<Instance3>::{Module, Call, Event<T>},
|
||||
|
||||
// Utility module.
|
||||
Utility: pallet_utility::{Module, Call, Event},
|
||||
|
||||
Reference in New Issue
Block a user