Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion epoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ func (e *Epoch) loadBlockRecord(block Block) error {
e.Logger.Debug("Verifying block from WAL", zap.Uint64("Round", block.BlockHeader().Round), zap.Uint64("Seq", block.BlockHeader().Seq))
verifiedBlock, err := block.Verify(e.finishCtx)
if err != nil {
return fmt.Errorf("failed to verify block: %w", err)
e.Logger.Error("Failed to verify block from WAL", zap.Uint64("Round", block.BlockHeader().Round), zap.Uint64("Seq", block.BlockHeader().Seq), zap.Error(err))
return fmt.Errorf("failed to verify block: %w. round %d", err, block.BlockHeader().Round)
}

e.rounds[block.BlockHeader().Round] = NewRound(verifiedBlock)
Expand Down Expand Up @@ -2656,6 +2657,7 @@ func (e *Epoch) monitorProgress(round uint64) {
// While we waited, a block might have been notarized.
// If so, then don't start monitoring for it being notarized.
if cancelled.Load() {
e.Logger.Debug("Not starting monitoring for block notarization because we were cancelled while waiting for block to be built", zap.Uint64("epoch round", epochRound), zap.Uint64("monitored round", round))
return
}

Expand Down