Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 30, 2021
1 parent eb6939b commit 3fe1992
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chain/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"go.opencensus.io/trace"
"golang.org/x/xerrors"

proof3 "github.com/filecoin-project/specs-actors/v2/actors/runtime/proof"
proof3 "github.com/filecoin-project/specs-actors/v3/actors/runtime/proof"

"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/blockstore"
Expand Down
2 changes: 1 addition & 1 deletion extern/filecoin-ffi
Submodule filecoin-ffi updated 1 files
+22 −5 proofs.go
2 changes: 1 addition & 1 deletion extern/storage-sealing/sealing.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func New(api SealingAPI, fc FeeConfig, events Events, maddr address.Address, ds
addrSel: as,

terminator: NewTerminationBatcher(context.TODO(), maddr, api, as, fc),
commiter: NewCommitBatcher(context.TODO(), maddr, api, as, fc),
commiter: NewCommitBatcher(context.TODO(), maddr, api, as, fc, gc),

getConfig: gc,
dealInfo: &CurrentDealInfoManager{api},
Expand Down
2 changes: 1 addition & 1 deletion extern/storage-sealing/states_sealing.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func (m *Sealing) handleSubmitCommitAggregate(ctx statemachine.Context, sector S
return ctx.Send(SectorCommitFailed{xerrors.Errorf("sector had nil commR or commD")})
}

mcid, err := m.commiter.AddCommit(ctx.Context(), m.minerSectorID(sector.SectorNumber), AggregateInput{
mcid, err := m.commiter.AddCommit(ctx.Context(), sector.SectorNumber, AggregateInput{
info: proof.AggregateSealVerifyInfo{
SealProof: sector.SectorType,
Number: sector.SectorNumber,
Expand Down
4 changes: 2 additions & 2 deletions node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ type SealingConfig struct {
AlwaysKeepUnsealedCopy bool

AggregateCommits bool
MinCommitBatch uint64
MaxCommitBatch uint64
MinCommitBatch int
MaxCommitBatch int

// Keep this many sectors in sealing pipeline, start CC if needed
// todo TargetSealingSectors uint64
Expand Down

0 comments on commit 3fe1992

Please sign in to comment.