mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
Mark reduced_tree fork choice as incomplete
This commit is contained in:
@@ -770,7 +770,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
} else {
|
||||
state.latest_block_header.canonical_root()
|
||||
};
|
||||
dbg!(previous_block_root);
|
||||
|
||||
let mut graffiti: [u8; 32] = [0; 32];
|
||||
graffiti.copy_from_slice(GRAFFITI.as_bytes());
|
||||
@@ -814,8 +813,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
self.metrics.block_production_successes.inc();
|
||||
timer.observe_duration();
|
||||
|
||||
dbg!(block.canonical_root());
|
||||
|
||||
Ok((block, state))
|
||||
}
|
||||
|
||||
@@ -849,9 +846,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
|
||||
// If we switched to a new chain (instead of building atop the present chain).
|
||||
if self.head().beacon_block_root != beacon_block.previous_block_root {
|
||||
dbg!("switched head");
|
||||
dbg!(self.head().beacon_block.slot);
|
||||
dbg!(beacon_block.slot);
|
||||
self.metrics.fork_choice_reorg_count.inc();
|
||||
};
|
||||
|
||||
|
||||
@@ -186,7 +186,6 @@ impl<T: BeaconChainTypes> Drop for Client<T> {
|
||||
fn drop(&mut self) {
|
||||
// Save the beacon chain to it's store before dropping.
|
||||
let _result = self.beacon_chain.persist();
|
||||
dbg!("Saved BeaconChain to store");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user