codex-contracts-eth/test
Eric Mastro 1b216f6655 slash first then check collateral threshold
Once a proof is marked as missing, if that missing proof is enough to slash a host, first slash the host, then check the hosts balance. If the balance has dropped below the minimum allowable collateral threshold, then remove them from the slot.
2022-09-21 20:52:44 +10:00
..
AccountLocks.test.js [marketplace] address various PR comments 2022-09-20 15:59:03 +10:00
Collateral.test.js [marketplace] tests for Failed state 2022-09-21 20:52:44 +10:00
Marketplace.test.js [marketplace] address PR comments 2022-09-21 20:52:44 +10:00
Proofs.test.js [marketplace] address PR comments 2022-09-21 20:52:44 +10:00
Storage.test.js slash first then check collateral threshold 2022-09-21 20:52:44 +10:00
evm.js [proofs] Test that pointer increases by one every block 2022-04-05 11:36:31 +02:00
examples.js [marketplace] update contract state to failed 2022-09-21 20:52:44 +10:00
ids.js [marketplace] update contract state to failed 2022-09-21 20:52:44 +10:00
marketplace.js [marketplace] address PR comments 2022-09-21 20:52:44 +10:00
price.js [marketplace] Reward is paid out per second per slot 2022-08-08 11:51:14 +02:00
time.js Move periodOf(), periodStart(), periodEnd() into time module 2022-03-15 10:01:12 +01:00