Skip to content

Commit 24f687c

Browse files
ParachainSystem: Do not emit the SelectCore digest (#8903)
This will be moved into an inherent digest. As preparation for: #8893 --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit daaaf6b)
1 parent 46dae3e commit 24f687c

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

cumulus/pallets/parachain-system/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -585,16 +585,6 @@ pub mod pallet {
585585
// Always try to read `UpgradeGoAhead` in `on_finalize`.
586586
weight += T::DbWeight::get().reads(1);
587587

588-
// Post a digest that contains the information for selecting a core.
589-
let selected_core = T::SelectCore::selected_core();
590-
frame_system::Pallet::<T>::deposit_log(
591-
cumulus_primitives_core::CumulusDigestItem::SelectCore {
592-
selector: selected_core.0,
593-
claim_queue_offset: selected_core.1,
594-
}
595-
.to_digest_item(),
596-
);
597-
598588
weight
599589
}
600590
}

prdoc/pr_8903.prdoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: 'ParachainSystem: Do not emit the `SelectCore` digest'
2+
doc:
3+
- audience: Runtime Dev
4+
description: |-
5+
This will be moved into an inherent digest.
6+
crates:
7+
- name: cumulus-pallet-parachain-system
8+
bump: patch

0 commit comments

Comments
 (0)