change comment
This commit is contained in:
parent
0c83781a7f
commit
d1f3380850
@ -392,7 +392,7 @@ func (b *CommitBatcher) processBatch(cfg sealiface.Config, sectors []abi.SectorN
|
||||
return []sealiface.CommitBatchRes{res}, xerrors.Errorf("simulating CommitBatch message failed: %w", err)
|
||||
}
|
||||
|
||||
// If we're out of gas, split the batch in half and try again
|
||||
// If we're out of gas, split the batch in half and evaluate again
|
||||
if api.ErrorIsIn(err, []error{&api.ErrOutOfGas{}}) {
|
||||
log.Warnf("CommitAggregate message ran out of gas, splitting batch in half and trying again (sectors: %d)", len(sectors))
|
||||
mid := len(sectors) / 2
|
||||
|
@ -374,7 +374,7 @@ func (b *PreCommitBatcher) processPreCommitBatch(cfg sealiface.Config, bf abi.To
|
||||
return []sealiface.PreCommitBatchRes{res}, xerrors.Errorf("simulating PreCommitBatch message failed: %w", err)
|
||||
}
|
||||
|
||||
// If we're out of gas, split the batch in half and try again
|
||||
// If we're out of gas, split the batch in half and evaluate again
|
||||
if api.ErrorIsIn(err, []error{&api.ErrOutOfGas{}}) {
|
||||
log.Warnf("PreCommitBatch out of gas, splitting batch in half and trying again")
|
||||
mid := len(entries) / 2
|
||||
|
Loading…
Reference in New Issue
Block a user