Update specs-actors again

This commit is contained in:
Aayush Rajasekaran 2020-09-03 22:35:20 -04:00
parent 7cd4c3a3ef
commit 6c79350448
4 changed files with 243 additions and 5 deletions

View File

@ -429,7 +429,7 @@ type FullNode interface {
PaychAllocateLane(ctx context.Context, ch address.Address) (uint64, error)
PaychNewPayment(ctx context.Context, from, to address.Address, vouchers []VoucherSpec) (*PaymentInfo, error)
PaychVoucherCheckValid(context.Context, address.Address, *paych.SignedVoucher) error
PaychVoucherCheckSpendable(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) (bool, error)
PaychVoucherCheckSpendable(context.Context, address.Address, *paych.SignedVoucher, []byte) (bool, error)
PaychVoucherCreate(context.Context, address.Address, types.BigInt, uint64) (*VoucherCreateResult, error)
PaychVoucherAdd(context.Context, address.Address, *paych.SignedVoucher, []byte, types.BigInt) (types.BigInt, error)
PaychVoucherList(context.Context, address.Address) ([]*paych.SignedVoucher, error)

View File

@ -280,7 +280,7 @@ func SetupStorageMiners(ctx context.Context, cs *store.ChainStore, sroot cid.Cid
pledge = big.Add(pcd, pledge)
fmt.Println(types.FIL(pledge))
//fmt.Println(types.FIL(pledge))
_, err = doExecValue(ctx, vm, minerInfos[i].maddr, m.Worker, pledge, builtin.MethodsMiner.PreCommitSector, mustEnc(params))
if err != nil {
return cid.Undef, xerrors.Errorf("failed to confirm presealed sectors: %w", err)

2
go.mod
View File

@ -145,4 +145,4 @@ replace github.com/dgraph-io/badger/v2 => github.com/dgraph-io/badger/v2 v2.0.1-
replace github.com/filecoin-project/test-vectors => ./extern/test-vectors
replace github.com/filecoin-project/specs-actors => github.com/filecoin-project/specs-actors v0.9.1-0.20200903020352-42ad3e9fbfa9
replace github.com/filecoin-project/specs-actors => github.com/filecoin-project/specs-actors v0.9.1-0.20200904012052-4acd0efe4a20

242
go.sum

File diff suppressed because it is too large Load Diff