diff --git a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs index a02c2f46a59bc..2ee915c5b10ca 100644 --- a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs +++ b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs @@ -1714,6 +1714,12 @@ pallet_revive::impl_runtime_apis_plus_revive!( } } + impl cumulus_primitives_core::GetParachainInfo for Runtime { + fn parachain_id() -> ParaId { + ParachainInfo::parachain_id() + } + } + impl cumulus_primitives_aura::AuraUnincludedSegmentApi for Runtime { fn can_build_upon( included_hash: ::Hash, diff --git a/prdoc/pr_9191.prdoc b/prdoc/pr_9191.prdoc new file mode 100644 index 0000000000000..d507fb0e1d284 --- /dev/null +++ b/prdoc/pr_9191.prdoc @@ -0,0 +1,8 @@ +title: Fixed westend asset hub ID +doc: +- audience: Runtime Dev + description: |- + Added cumulus_primitives_core::GetParachainInfo impl to the AHW runtime to get the parachain ID. +crates: +- name: asset-hub-westend-runtime + bump: minor \ No newline at end of file