dagger-contracts/test
r4bbit cc0b2732ad fix(Marketplace): ensure requests include ask with sufficient slots
There is a missing check in `requestStorage()` on whether the `Request`
contains an `Ask` where its `slots` is `> 0`.

This allows for making storage request without slots. Not harmful but
not a valid state of the system either.

This commit adds that check and a test with batteries included.
2024-08-27 17:14:52 +02:00
..
Endian.test.js Formatting 2024-01-25 13:16:49 +01:00
Marketplace.test.js fix(Marketplace): ensure requests include ask with sufficient slots 2024-08-27 17:14:52 +02:00
Proofs.test.js chore: add `downtimeProduct` configuration parameter (#138) 2024-08-14 15:50:32 +10:00
evm.js feat: partial payouts for cancelled requests (#69) 2023-10-16 11:14:02 +02:00
examples.js chore: add `downtimeProduct` configuration parameter (#138) 2024-08-14 15:50:32 +10:00
ids.js Merkle root is 32 bytes 2023-11-22 14:43:11 +01:00
marketplace.js feat: adds an optional `payoutAddress` to allow payouts to be paid to separate address (#144) 2024-08-19 17:09:48 +10:00
price.js [marketplace] Reward is paid out per second per slot 2022-08-08 11:51:14 +02:00
requests.js feat: expiry specified as duration (#99) 2024-05-06 15:13:32 +02:00
time.js clean up tests 2022-10-25 12:38:19 +11:00