mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
Parachains inclusion.rs to Frame V2 (#3440)
* frame v2 * migrate runtimes * migrate more * comments * docs * cleanup * Adjust visibility on storage items Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -214,7 +214,7 @@ construct_runtime! {
|
||||
ParachainsOrigin: parachains_origin::{Pallet, Origin},
|
||||
ParachainsConfiguration: parachains_configuration::{Pallet, Call, Storage, Config<T>},
|
||||
Shared: parachains_shared::{Pallet, Call, Storage},
|
||||
Inclusion: parachains_inclusion::{Pallet, Call, Storage, Event<T>},
|
||||
ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event<T>},
|
||||
ParasInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent},
|
||||
Scheduler: parachains_scheduler::{Pallet, Call, Storage},
|
||||
Paras: parachains_paras::{Pallet, Call, Storage, Event, Config},
|
||||
@@ -1257,7 +1257,7 @@ sp_api::impl_runtime_apis! {
|
||||
fn candidate_events() -> Vec<CandidateEvent<Hash>> {
|
||||
runtime_api_impl::candidate_events::<Runtime, _>(|ev| {
|
||||
match ev {
|
||||
Event::Inclusion(ev) => {
|
||||
Event::ParaInclusion(ev) => {
|
||||
Some(ev)
|
||||
}
|
||||
_ => None,
|
||||
|
||||
Reference in New Issue
Block a user