The separation of prediction confirmation and setting in ThePredicter
could lead to state inconsistencies if transactions are mined out of order.
Potential for the prediction payment confirmation and the actual prediction setting to become out of sync.
Player calls makePrediction
confirmPredictionPayment
is called and succeeds
The transaction fails (out of gas) before setPrediction
is called
The payment is confirmed, but no prediction is set
Players could lose funds or have unpaid predictions counted
Combine these operations into a single function call.
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.