2022-03-23 12:57:48 +00:00
|
|
|
import pkg/dagger/market
|
|
|
|
|
|
|
|
type
|
|
|
|
MockMarket* = ref object of Market
|
2022-03-24 12:48:18 +00:00
|
|
|
requested*: seq[StorageRequest]
|
2022-03-23 12:57:48 +00:00
|
|
|
|
|
|
|
method requestStorage*(market: MockMarket, request: StorageRequest) {.async.} =
|
2022-03-24 12:48:18 +00:00
|
|
|
market.requested.add(request)
|