-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
RawEvent::<T>::CandidateTimedOut(c, h, core) | ||
=> CandidateEvent::CandidateTimedOut(c, h, core), | ||
RawEvent::<T>::__Ignore(_, _) | ||
=> unreachable!("__Ignore cannot be used"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change frame_support
to not expose __Ignore(_,_)
in Event api?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think unavoidable unfortunately, hence the name and stuff
@thiolliere ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is to capture the generics in case none of the fields capture it.
But it was more to make it handy we could not generate it like decl_event do.
Also right now there is a weird case that construct_runtime doesn't handle non generic or generic on T
only for event when the pallet is instantiable. so in this case we sometime need an ignore variant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the import rename, this looks good to me
bot merge |
Trying merge. |
@ferrell-code can you please include your DOT / KSM address again? |
Polka: Or Kusama: Thanks @shawntabrizi 🦕, maybe I should just put it in my github bio haha |
* master: Reduce staking miner reward (companion `substrate/pull/9395`) (#3465) Parachains shared.rs to Frame V2 (#3425) Parachains hrmp.rs to Frame V2 (#3475) Migrate slots pallet to pallet attribute macro. (#3218) Improve test in bridge (#3507) parachain dmp.rs to Frame V2 (#3426) Parachains inclusion.rs to Frame V2 (#3440) Dispute coordinator - Recover disputes on startup (#3481) Use correct syntax for owning all files in a folder (#3510) Add wococo-local chain spec (#3509) Dispute vote filtering for block authors (#3498) Bump indexmap from 1.6.1 to 1.7.0 (#3497) Companion for substrate #9315 (#3477)
@ferrell-code the tip has been opened on Polkadot. Thank you again for your contributions! |
relates: #2882
Following the upgrade guidelines here: https://crates.parity.io/frame_support/attr.pallet.html#upgrade-guidelines.
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines
So users of the
ParaInclusion
pallet must be careful about the name they used inconstruct_runtime!.
Hence the runtime-migration label, which might not be needed depending on the configuration of theParaInclusion
pallet.westend and kusama use
ParasInclusion
so I changed them toParaInclusion
. rococo usesInclusion
also migrated toParaInclusion
.polkadot does not us
ParaInclusion