Closed SeanMcOwen closed 2 months ago
Provers don't "stake", instead provers provide a commitment_bond.
We made a decision to reduce complexity here. Option A was not chosen: When Prover provides commitment_bond, reduce balance, track bond, then later send balance back (or slash from there). Option B was chosen: When a Prover needs to provide commitment_bond, first check whether they have enough balance, then track Prover, if they misbehave we slash balance, if they behave we don't need to send back
Current implementation reduces their balance instead of their staked amount
Code: