tech-greedy/singularity

DealTracking does not keep track of deals that go Active then get slashed

Closed this issue · 1 comments

Describe the bug
DealTracking will keep track of deals that are either, proposed or published - the only other time it is checked is on expiry.
But if a deal becomes active on-chain and is then terminated by the SP - it becomes slashed and singularity will not pick up on it due to this line.

Expected behavior
At scale, we don't want to be checking all active deals every time a check runs - but I think at least once a day should ok (or on a config option) or I would also like to see a command to be able to trigger this check of active sectors on-chain manually.