Closed 0x-r4bbit closed 1 month ago
There is a missing check in requestStorage() on whether the Request contains an Ask where its slots is > 0.
requestStorage()
Request
Ask
slots
> 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.
Rebased on top of latest master, waiting for CI to be green (and double check prover), will then merge.
There is a missing check in
requestStorage()
on whether theRequest
contains anAsk
where itsslots
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.