nim-codex/tests/codex/sales
Eric Mastro 3eacdd8a30
[marketplace] reservations module
- add de/serialization for Availability
- add markUsed/markUnused in persisted availability
- add query for unused
- add reserve/release
- reservation module tests
- split ContractInteractions into client contracts and host contracts
- remove reservations start/stop as the repo start/stop is being managed by the node
- remove dedicated reservations metadata store and use the metadata store from the repo instead
- Split ContractInteractions into:
  - ClientInteractions (with purchasing)
  - HostInteractions (with sales and proving)
- compilation fix for nim 1.2

[repostore] fix started flag, add tests

[marketplace] persist slot index
For loading the sales state from chain, the slot index was not previously persisted in the contract. Will retrieve the slot index from the contract when the sales state is loaded.
2023-03-15 17:43:31 +11:00
..
states [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00
helpers.nim [marketplace] reservations module 2023-03-15 17:43:31 +11:00
testreservations.nim [marketplace] reservations module 2023-03-15 17:43:31 +11:00
testsales.nim [marketplace] reservations module 2023-03-15 17:43:31 +11:00
testsalesagent.nim [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00
teststates.nim [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00