The createMarketPlace function allows marketplaces to be created with the fixedratio option enabled. However, marketplaces with this option cannot be settled due to restrictions in the DeliveryPlace contract, leading to marketplaces that cannot complete their intended function. Since the fixedratio setting cannot be modified after creation, any orders associated with such marketplaces become ineffective, rendering the marketplace unusable.
The SystemConfig::createMarketPlace function allows for the creation of a marketplace with the fixedratio enabled:
However, the DeliveryPlace contract prevents marketplaces with fixedratio enabled from being settled:
Furthermore, since the marketPlaceInfo.fixedratio cannot be updated and set to false by the updateMarket() after marketplace creation, any orders associated with such a marketplace are rendered ineffective, making the marketplace non-operational.
The inability to settle marketplaces with fixedratio enabled renders these marketplaces unusable.
vscode
The SystemConfig::createMarketPlace function should set marketPlaceInfo.fixedratio to false.
Invalid, design decision, this is decided when market place is created. If a fixed ratio market place is allowed, then admin can simply create a new market place to cater to that in which manual arbitrartion is required instead of allowing settlements by makers, as noted in comments [here](https://github.com/Cyfrin/2024-08-tadle/blob/04fd8634701697184a3f3a5558b41c109866e5f8/src/core/SystemConfig.sol#L88)
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.