make SelfParaId a metadata constant (#3517)

expose para id via metadata

#2116 is blocked by this
This commit is contained in:
Xiliang Chen
2024-03-02 01:23:21 +13:00
committed by GitHub
parent a1b57a8c18
commit 6f81a4a092
@@ -205,6 +205,7 @@ pub mod pallet {
type OnSystemEvent: OnSystemEvent;
/// Returns the parachain ID we are running with.
#[pallet::constant]
type SelfParaId: Get<ParaId>;
/// The place where outbound XCMP messages come from. This is queried in `finalize_block`.