feat: Integrate Sealedblock to BeaconConsensusEngineEvent (#2764)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
chirag-bgh
2023-05-22 15:14:50 +05:30
committed by GitHub
parent 43aeadb9ba
commit 7849b4c38e
3 changed files with 13 additions and 16 deletions

View File

@ -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");
}
}
}