Disputed state if an arbiter is no longer availableThe contract's constructor currently sets the arbiter via i_arbiter when a new Escrow is created
However, currently there is no way to set a new arbiter if an arbiter happens to be no longer available.
As a result, if a dispute is initiated via initiateDispute() by a buyer or seller. If no arbiter exists or is unavailable, then it would not be possible to resolveDispute() as it is only callable by the arbiter due to the onlyArbiter modifier.
https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L74
https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L109
Disputes are stuck in State.Disputed
Allow an option to set a new arbiter if both buyer and seller can agree upon a new arbiter
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.