Description
Currently, oracle fees can be affected when a worker submission is refused and the worker is not paid for that work.
We should update the Escrow contract so that oracle fees are still paid whenever the oracle has performed its role, even if some worker submissions are rejected and no payout is made to those workers.
Motivation
If an oracle reviews, validates, records, or processes a submission, it has still performed work. Refusing a worker submission should prevent the worker payout, but it should not automatically remove the oracle fee.
This makes the payment model fairer and avoids discouraging oracles from accepting invalid or low-quality work.
Implementation details
- Oracle fees are always paid when the escrow has been completed/canceled.
- Refused worker submissions do not trigger worker payouts.
- Existing successful payout behavior is not broken.
TBD
Description
Currently, oracle fees can be affected when a worker submission is refused and the worker is not paid for that work.
We should update the Escrow contract so that oracle fees are still paid whenever the oracle has performed its role, even if some worker submissions are rejected and no payout is made to those workers.
Motivation
If an oracle reviews, validates, records, or processes a submission, it has still performed work. Refusing a worker submission should prevent the worker payout, but it should not automatically remove the oracle fee.
This makes the payment model fairer and avoids discouraging oracles from accepting invalid or low-quality work.
Implementation details
TBD