Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Miner.Partition: Check sector existence on expiry and termination #1233

@wadealexc

Description

@wadealexc
  1. PopExpiredSectors should check that all sectors popped from the expiration queue exist in the partition:

expiredSectors, err := bitfield.MergeBitFields(popped.OnTimeSectors, popped.EarlySectors)

  1. PopEarlyTerminations should check that all sectors processed in the early termination queue exist in the partition:

if err = earlyTerminatedQ.ForEach(func(epoch abi.ChainEpoch, sectors bitfield.BitField) error {
toProcess := sectors

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority, beneficial for network functionality and growthrobustnessRelated to correctness

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions