stores: Fix single post proof reading with updated sectors
This commit is contained in:
@@ -868,7 +868,7 @@ func (s *WindowPoStScheduler) submitPoStMessage(ctx context.Context, proof *mine
|
||||
return nil, xerrors.Errorf("pushing message to mpool: %w", err)
|
||||
}
|
||||
|
||||
log.Infof("Submitted window post: %s", sm.Cid())
|
||||
log.Infof("Submitted window post: %s (deadline %d)", sm.Cid(), proof.Deadline)
|
||||
|
||||
go func() {
|
||||
rec, err := s.api.StateWaitMsg(context.TODO(), sm.Cid(), build.MessageConfidence, api.LookbackNoLimit, true)
|
||||
@@ -878,6 +878,7 @@ func (s *WindowPoStScheduler) submitPoStMessage(ctx context.Context, proof *mine
|
||||
}
|
||||
|
||||
if rec.Receipt.ExitCode == 0 {
|
||||
log.Infow("Window post submission successful", "cid", sm.Cid(), "deadline", proof.Deadline, "epoch", rec.Height, "ts", rec.TipSet.Cids())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user