Skip to content

Commit

Permalink
Caplin: demote reorg log (#12738)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Nov 16, 2024
1 parent 736da1c commit 4f35daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl/phase1/stages/forkchoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func updateCanonicalChainInTheDatabase(ctx context.Context, tx kv.RwTx, headSlot
return fmt.Errorf("failed to read parent block root: %w", err)
}
if parentRoot != oldCanonical {
log.Info("cl reorg", "new_head_slot", headSlot, "fork_slot", currentSlot, "old_canonical", oldCanonical, "new_canonical", headRoot)
log.Debug("cl reorg", "new_head_slot", headSlot, "fork_slot", currentSlot, "old_canonical", oldCanonical, "new_canonical", headRoot)
oldStateRoot, err := beacon_indicies.ReadStateRootByBlockRoot(ctx, tx, oldCanonical)
if err != nil {
log.Warn("failed to read state root by block root", "err", err, "block_root", oldCanonical)
Expand Down

0 comments on commit 4f35daf

Please sign in to comment.