mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 08:27:55 +00:00
Companion for init the RuntimeLogger automatically (#2522)
* Lol * Add the features * Remove some more runtime logger init calls * Make companion check work * Revert "Make companion check work" This reverts commit a255c798076466c0fa20a4db713fc712772c2b4d. * Update Substrate
This commit is contained in:
@@ -27,7 +27,6 @@ use primitives::v1::{
|
||||
GroupIndex, CandidateEvent, PersistedValidationData, SessionInfo,
|
||||
InboundDownwardMessage, InboundHrmpMessage, Hash, AuthorityDiscoveryId
|
||||
};
|
||||
use frame_support::debug;
|
||||
use crate::{initializer, inclusion, scheduler, configuration, paras, session_info, dmp, hrmp, shared};
|
||||
|
||||
|
||||
@@ -85,8 +84,11 @@ pub fn availability_cores<T: initializer::Config>() -> Vec<CoreState<T::Hash, T:
|
||||
match <scheduler::Module<T>>::group_assigned_to_core(core_index, backed_in_number) {
|
||||
Some(g) => g,
|
||||
None => {
|
||||
debug::warn!("Could not determine the group responsible for core extracted \
|
||||
from list of cores for some prior block in same session");
|
||||
log::warn!(
|
||||
target: "runtime::polkadot-api::v1",
|
||||
"Could not determine the group responsible for core extracted \
|
||||
from list of cores for some prior block in same session",
|
||||
);
|
||||
|
||||
GroupIndex(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user