-
Georgios Konstantopoulos authored
* fix(bond): always deposit requiredCollateral This means that we have to remove the setRequiredCollateral function to avoid: 1. Publisher deposits, requiredCollateral goes up, publisher withdraws more than they deposited 2. Publisher deposits, fraud happens, requiredCollateral goes up, more than the user's deposit gets distributed in fraud claims * fix(bond): remove redundant batchIndex parameter * feat(bond): claim from Publisher instead of state root This forces a 1:1 connection between a publisher's bond and a state root being claimed * feat(bond): set the earliest state root Co-authored-by:
ben-chain <ben@pseudonym.party>
12c436d4