Arnaud 0032e60398
fix(marketplace): catch Marketplace_SlotIsFree and continue the cancelled process (#1139)
* Catch Marketplace_SlotIsFree and continue the cancelled process

* Add log message when the slot if free during failed state

* Reduce log level to debug for slot free error

* Separate slot mock errors

* Initialize variable in setyp

* Improve tests

* Remove non-meaningful checks and rename test

* Remove the Option in the error setters

* Return collateral when the state is cancelled only if the slot is filled by the host

* Do not propagate AsyncLockError

* Wrap contract error into specific error type

* Remove debug message

* Catch only SlotStateMismatchError in cancelled

* Fix error

* Remove returnBytesWas

* Use MarketError after raises pragma were defined

* Fix typo

* Fix lint
2025-03-26 15:17:39 +00:00
..
2025-03-13 07:33:15 -07:00
2025-01-21 20:54:46 +00:00
2025-03-13 07:33:15 -07:00
2025-01-21 20:54:46 +00:00
2025-02-24 21:01:23 +00:00
2025-03-13 07:33:15 -07:00
2023-12-22 13:04:01 +01:00
2024-01-11 08:45:23 -08:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-02-24 21:01:23 +00:00
2024-02-09 21:40:30 +00:00
2025-01-21 20:54:46 +00:00
2022-06-14 09:19:35 -06:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00