dagger-contracts/test
Eric Mastro 949a359626 [marketplace] Add isCancelled check for slot
Add cancelled check for slot state which checks the contract state and also the slot expiry time. This handles the case where the client may not have withdrawn funds yet (which sets the contract state to Cancelled).

Add tests for contract state.
2022-09-20 15:59:03 +10:00
..
AccountLocks.test.js [marketplace] extend lock expiry 2022-09-20 15:59:03 +10:00
Collateral.test.js Fix tests after OpenZeppelin update 2022-03-15 17:01:04 +01:00
Marketplace.test.js [marketplace] Add isCancelled check for slot 2022-09-20 15:59:03 +10:00
Proofs.test.js [proofs] Submitting proof emits event containing proof 2022-04-12 09:04:29 +02:00
Storage.test.js [marketplace] Reward is paid out per second per slot 2022-08-08 11:51:14 +02:00
evm.js [proofs] Test that pointer increases by one every block 2022-04-05 11:36:31 +02:00
examples.js [marketplace] Specify size per slot, instead of total size 2022-08-08 11:51:14 +02:00
ids.js [marketplace] Specify size per slot, instead of total size 2022-08-08 11:51:14 +02:00
marketplace.js [marketplace] Allow client to withdraw when cancelled 2022-09-20 15:59:03 +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