Merge pull request #1130 from filecoin-project/fix/fpost-no-candidates
fpost: More logging
This commit is contained in:
commit
807d803a81
@ -117,7 +117,10 @@ func (s *fpostScheduler) runPost(ctx context.Context, eps uint64, ts *types.TipS
|
|||||||
return nil, xerrors.Errorf("getting sorted sector info: %w", err)
|
return nil, xerrors.Errorf("getting sorted sector info: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infow("running fPoSt", "chain-random", rand, "eps", eps, "height", ts.Height())
|
log.Infow("running fPoSt",
|
||||||
|
"chain-random", rand,
|
||||||
|
"eps", eps,
|
||||||
|
"height", ts.Height())
|
||||||
|
|
||||||
faults, err := s.checkFaults(ctx, ssi)
|
faults, err := s.checkFaults(ctx, ssi)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -129,6 +132,10 @@ func (s *fpostScheduler) runPost(ctx context.Context, eps uint64, ts *types.TipS
|
|||||||
var seed [32]byte
|
var seed [32]byte
|
||||||
copy(seed[:], rand)
|
copy(seed[:], rand)
|
||||||
|
|
||||||
|
log.Infow("generating fPoSt",
|
||||||
|
"sectors", len(ssi.Values()),
|
||||||
|
"faults", len(faults))
|
||||||
|
|
||||||
scandidates, proof, err := s.sb.GenerateFallbackPoSt(ssi, seed, faults)
|
scandidates, proof, err := s.sb.GenerateFallbackPoSt(ssi, seed, faults)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, xerrors.Errorf("running post failed: %w", err)
|
return nil, xerrors.Errorf("running post failed: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user