codex-contracts-eth/test
Eric Mastro fd74268a8a Remove proof extension, test clean up
1. Remove proof extension as it is not needed. Host are required to provide proofs from the moment they fill a slot, for the duration specified by the contract. This means that the ending of their requirements will be staggered at the end, as they were at the start, but this is more predicable for determining the cost of a request.
2. The proof end time was modified so that if the request state is not accepting proofs, it takes the min of the slot proof end time, the request end time, or block.timestamp - 1, which ensures that it returns a time in the past. If the slot is accepting proofs, it returns the slot end time.
3. Modify marketplace tests so that `waitUntilFinished` advances time to the proof ending of the last slot filled.
2022-10-25 12:38:19 +11:00
..
AccountLocks.test.js Remove proof extension, test clean up 2022-10-25 12:38:19 +11:00
Collateral.test.js clean up tests 2022-10-25 12:38:19 +11:00
Marketplace.test.js Remove proof extension, test clean up 2022-10-25 12:38:19 +11:00
Proofs.test.js Remove proof extension, test clean up 2022-10-25 12:38:19 +11:00
Storage.test.js Remove proof extension, test clean up 2022-10-25 12:38:19 +11:00
evm.js [proofs] Test that pointer increases by one every block 2022-04-05 11:36:31 +02:00
examples.js clean up tests 2022-10-25 12:38:19 +11:00
ids.js [marketplace] update contract state to failed 2022-09-21 20:52:44 +10:00
marketplace.js Remove proof extension, test clean up 2022-10-25 12:38:19 +11:00
price.js [marketplace] Reward is paid out per second per slot 2022-08-08 11:51:14 +02:00
time.js clean up tests 2022-10-25 12:38:19 +11:00