Skip to content

Commit

Permalink
better logging++
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Jan 31, 2024
1 parent 3b259ae commit e638db0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/fetcher/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (f *RPCFetcher) Fetch(ctx context.Context, requestedSlot uint64) (out *pbbs
if err != nil {
return nil, false, fmt.Errorf("fetching latest finalized Slot block num: %w", err)
}
f.logger.Info("got latest finalized slot block", zap.Uint64("latest_finalized_slot", f.latestFinalizedSlot), zap.Uint64("requested_block_num", requestedSlot))
}

f.logger.Info("fetching block", zap.Uint64("block_num", requestedSlot), zap.Uint64("latest_finalized_slot", f.latestFinalizedSlot), zap.Uint64("latest_confirmed_slot", f.latestConfirmedSlot))
Expand Down

0 comments on commit e638db0

Please sign in to comment.