mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat(primitives, stages): improve checkpoint logs readability (#5194)
This commit is contained in:
@ -246,15 +246,6 @@ impl StageCheckpoint {
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for StageCheckpoint {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
match self.entities() {
|
||||
Some(entities) => entities.fmt(f),
|
||||
None => write!(f, "{}", self.block_number),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(alexey): add a merkle checkpoint. Currently it's hard because [`MerkleCheckpoint`]
|
||||
// is not a Copy type.
|
||||
/// Stage-specific checkpoint metrics.
|
||||
|
||||
Reference in New Issue
Block a user