Skip to content

Commit

Permalink
Improve logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Jan 24, 2025
1 parent adb6bfe commit 3eb6f56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dot/sync/warp_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,13 @@ func (w *WarpSyncStrategy) Process(results []*SyncTaskResult) (
w.lastBlock = &warpProofResult.Header

if !warpProofResult.Completed {
logger.Debug("partial warp sync received")
logger.Debug("partial warp sync proof received")

w.setId = warpProofResult.SetId
w.authorities = warpProofResult.AuthorityList
} else {
logger.Debug("complete warp sync received")
logger.Debugf("⏩ Warping, finish processing proofs, downloading target block #%d (%s)",
w.lastBlock.Number, w.lastBlock.Hash().String())
w.phase = TargetBlock
}
}
Expand Down

0 comments on commit 3eb6f56

Please sign in to comment.