Improve approval tracing (#2697)

* improve tracing for approval voting

* assignment criteria tracing

* new syntax
This commit is contained in:
Robert Habermeier
2021-03-24 18:46:01 +01:00
committed by GitHub
parent e16479e16e
commit e49b3e5ca9
4 changed files with 92 additions and 54 deletions
@@ -132,7 +132,7 @@ where
_keystore: &LocalKeystore,
_relay_vrf_story: polkadot_node_primitives::approval::RelayVRFStory,
_config: &criteria::Config,
_leaving_cores: Vec<(polkadot_primitives::v1::CoreIndex, polkadot_primitives::v1::GroupIndex)>,
_leaving_cores: Vec<(CandidateHash, polkadot_primitives::v1::CoreIndex, polkadot_primitives::v1::GroupIndex)>,
) -> HashMap<polkadot_primitives::v1::CoreIndex, criteria::OurAssignment> {
self.0()
}