filecoin-project / oni

👹 (DEPRECATED; see README) Project Oni | Network Validation
https://docs.google.com/document/d/16jYL--EWYpJhxT9bakYq7ZBGLQ9SB940Wd1lTDOAbNE
7 stars 5 forks source link

[test scenario] Faulty sectors expire early #248

Open Stebalien opened 4 years ago

Stebalien commented 4 years ago

Describe the test scenario.

Faulty sectors should expire 14 days after they're marked faulty (rounded up to the next deadline for the faulty sector).

  1. Add two sectors.
  2. Corrupt one sector (the faulty one, and let the chain detect the fault).
  3. Wait until it expires.
  4. Fix the sector in lotus.

What should we measure?

  1. The corrupted sector should be penalized for an undeclared fault.
  2. The corrupted sector should be penalized for an ongoing fault every day.
  3. The corrupted sector should be terminated on day 14, and the miner should be penalized the early termination fee.
  4. Importantly, the non-corrupt sector should never be penalized.
  5. Lotus should not attempt to "recover" the sector after it expires, even if it is fixed.

Discomfort factor (0-10).

5