diff --git a/CHANGELOG.md b/CHANGELOG.md index 7225afd86..2e0e6316c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,17 @@ # Lotus changelog -# 1.16.0 / 2022-06-24 +# 1.16.1 / 2022-07-07 +This is an OPTIONAL PATCH releases for storage providers who have failed to publish `SubmitWindowedPoSt` due to out of gas error. The error log looks like `/wdpost_run.go:xxx estimating gas {"error": "estimating gas used: message execution failed: exit SysErrOutOfGas(7)...`. + +## New Features + +- feat: declare fault recovery: Config for maximum partition count per message (#8988 / #8986) + - configure `MaxPartitionsPerRecoveryMessage` in miner configuration setting. +- feat: wdpost: Config for maximum partition count per message (#8982 / #8986) + - configure `MaxPartitionsPerPoStMessage` in miner configuration setting. + +# 1.16.0 / 2022-06-24 This is a MANDATORY release of Lotus that introduces [Filecoin network v16, codenamed the Skyr upgrade](https://github.com/filecoin-project/community/discussions/74?sort=new#discussioncomment-2392151). diff --git a/node/modules/storageminer.go b/node/modules/storageminer.go index 94d365474..fc6c6d888 100644 --- a/node/modules/storageminer.go +++ b/node/modules/storageminer.go @@ -270,6 +270,7 @@ func WindowPostScheduler(fc config.MinerFeeConfig, pc config.ProvingConfig) func ctx := helpers.LifecycleCtx(mctx, lc) fps, err := wdpost.NewWindowedPoStScheduler(api, fc, pc, as, sealer, verif, sealer, j, maddr) + if err != nil { return nil, err } diff --git a/storage/wdpost/wdpost_run_faults.go b/storage/wdpost/wdpost_run_faults.go index b63b17491..60352e8b8 100644 --- a/storage/wdpost/wdpost_run_faults.go +++ b/storage/wdpost/wdpost_run_faults.go @@ -151,7 +151,6 @@ func (s *WindowPoStScheduler) declareRecoveries(ctx context.Context, dlIdx uint6 // to our miner actor. // // NOTE: THIS CODE ISN'T INVOKED AFTER THE IGNITION UPGRADE -// // This is always invoked ahead of time, before the deadline for the evaluated // sectors arrives. That way, faults are declared before a penalty is accrued. // diff --git a/storage/wdpost/wdpost_sched.go b/storage/wdpost/wdpost_sched.go index 0473273d9..2739bc386 100644 --- a/storage/wdpost/wdpost_sched.go +++ b/storage/wdpost/wdpost_sched.go @@ -111,8 +111,7 @@ func NewWindowedPoStScheduler(api NodeAPI, disablePreChecks: pcfg.DisableWDPoStPreChecks, maxPartitionsPerPostMessage: pcfg.MaxPartitionsPerPoStMessage, maxPartitionsPerRecoveryMessage: pcfg.MaxPartitionsPerRecoveryMessage, - - actor: actor, + actor: actor, evtTypes: [...]journal.EventType{ evtTypeWdPoStScheduler: j.RegisterEventType("wdpost", "scheduler"), evtTypeWdPoStProofs: j.RegisterEventType("wdpost", "proofs_processed"),