class BeaconChainMetrics implements SlotEventsChannel {

  @Override
  public void onSlot(final UInt64 slot) {
    recentChainData.getBestState().ifPresent(this::updateMetrics);
  }

  public  BeaconChainMetrics(
      final RecentChainData recentChainData,
      final NodeSlot nodeSlot,
      final MetricsSystem metricsSystem,
      final Eth2Network p2pNetwork);

}