Move beacon_chain to new metrics structure.

This commit is contained in:
Paul Hauner
2019-08-11 14:11:13 +10:00
parent 48733917be
commit 9995b390b5
3 changed files with 117 additions and 171 deletions

View File

@@ -71,11 +71,6 @@ where
eth2_config.spec.clone(),
log.clone(),
)?);
// Registry all beacon chain metrics with the global registry.
beacon_chain
.metrics
.register(&metrics_registry)
.expect("Failed to registry metrics");
if beacon_chain.read_slot_clock().is_none() {
panic!("Cannot start client before genesis!")