Skip to content

Commit

Permalink
Merge pull request #4245 from filecoin-project/debug/chain-sync-lookback
Browse files Browse the repository at this point in the history
add more info to chain sync lookback failure
  • Loading branch information
magik6k authored Oct 8, 2020
2 parents df67576 + cdc2f86 commit 17f61ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func (syncer *Syncer) ValidateBlock(ctx context.Context, b *types.FullBlock, use

lbst, _, err := syncer.sm.TipSetState(ctx, lbts)
if err != nil {
return xerrors.Errorf("failed to compute lookback tipset state: %w", err)
return xerrors.Errorf("failed to compute lookback tipset state (epoch %d): %w", lbts.Height(), err)
}

prevBeacon, err := syncer.store.GetLatestBeaconEntry(baseTs)
Expand Down

0 comments on commit 17f61ac

Please sign in to comment.