mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: Integrate Sealedblock to BeaconConsensusEngineEvent (#2764)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -81,11 +81,11 @@ impl NodeState {
|
||||
BeaconConsensusEngineEvent::ForkchoiceUpdated(state) => {
|
||||
info!(target: "reth::cli", ?state, "Forkchoice updated");
|
||||
}
|
||||
BeaconConsensusEngineEvent::CanonicalBlockAdded(number, hash) => {
|
||||
info!(target: "reth::cli", number, ?hash, "Block added to canonical chain");
|
||||
BeaconConsensusEngineEvent::CanonicalBlockAdded(block) => {
|
||||
info!(target: "reth::cli", number=block.number, hash=?block.hash, "Block added to canonical chain");
|
||||
}
|
||||
BeaconConsensusEngineEvent::ForkBlockAdded(number, hash) => {
|
||||
info!(target: "reth::cli", number, ?hash, "Block added to fork chain");
|
||||
BeaconConsensusEngineEvent::ForkBlockAdded(block) => {
|
||||
info!(target: "reth::cli", number=block.number, hash=?block.hash, "Block added to fork chain");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user