arbiterFee
should have a cap.
Even if contract check the if (arbiterFee >= price)
,I think this is an exchange between the seller and the buyer. If the arbitration fee is too high, it will cause losses to both the seller and the buyer. On the other hand, when the arbitration fee is too high, it may be more attractive to the arbitrator to perform the arbitration, which may lead to some unnecessary arbitrations, resulting in some disputes and unfairness
https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L43
If the arbitration fee is too high, it will cause losses to both the seller and the buyer. On the other hand, when the arbitration fee is too high, it may be more attractive to the arbitrator to perform the arbitration, which may lead to some unnecessary arbitrations, resulting in some disputes and unfairness
manual
I think we can set a parameter such arbiterFee_MAX
, and check it.
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.