From 5df068988b9dba00f66c49da5bf6a3b8a5461de6 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Mon, 3 Jan 2022 17:15:40 -0500 Subject: [PATCH] Add `header` argument to `collect_collation_info` From: https://github.com/paritytech/cumulus/pull/882 --- runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a14b7d4..1321d1c 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -787,8 +787,8 @@ impl_runtime_apis! { } impl cumulus_primitives_core::CollectCollationInfo for Runtime { - fn collect_collation_info() -> cumulus_primitives_core::CollationInfo { - ParachainSystem::collect_collation_info() + fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info(header) } }