Skip to content

Commit

Permalink
refactor(CON-1302): Move Chain Key related metrics into the ecdsa s…
Browse files Browse the repository at this point in the history
…ubmodule (#277)

This PR moves some metrics from `consensus/metrics.rs` to
`consensus/ecdsa/metrics.rs`.
With this, the whole `consensus/ecdsa` submodule no longer depends on
the rest of module and can be factored out into its own crate.

---------

Co-authored-by: Carly Gundy <[email protected]>
Co-authored-by: IDX GitHub Automation <[email protected]>
Co-authored-by: Marko Kosmerl <[email protected]>
  • Loading branch information
4 people authored Jun 28, 2024
1 parent 8dc3fe1 commit 5b6b55e
Show file tree
Hide file tree
Showing 13 changed files with 509 additions and 495 deletions.
4 changes: 2 additions & 2 deletions rs/consensus/src/consensus/block_maker.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#![deny(missing_docs)]
use crate::{
consensus::{
metrics::{BlockMakerMetrics, EcdsaPayloadMetrics},
metrics::BlockMakerMetrics,
status::{self, Status},
ConsensusCrypto,
},
dkg::payload_builder::create_payload as create_dkg_payload,
ecdsa,
ecdsa::{self, metrics::EcdsaPayloadMetrics},
};
use ic_consensus_utils::{
find_lowest_ranked_proposals, get_block_hash_string, get_notarization_delay_settings,
Expand Down
Loading

0 comments on commit 5b6b55e

Please sign in to comment.