Open mbeylin opened 6 years ago
Will review next week. 👍🏻
@akuanti and I reviewed this! Overall it looks good. We did not review the tests.
Concrete suggestions:
Whitelist
struct to ClaimantTerms
whitelists
array to whitelistedClaimants
isBeforeDeadline
to use <
rather than <=
, otherwise the check is not strictly "before"@param _minimumFee
definition for the whitelistClaimant
function contains a typo.whitelistClaimant
function seems a bit hopeless, as either party could simply sybil.getNumWhitelists
function. Should refer to the whitelists array, not the claims array.getNumSettlements
to getNumSettlementProposals
and update the comments accordingly as well.General notes:
Checking that the claimant is not the staker or the arbiter in the
whitelistClaimant
function seems a bit hopeless, as either party could simply sybil.
do we need to consider other solutions to the problem of stakers whitelisting themselves?
Implements fixes for:
63 , #64 , #66, #69, #74, #75 , #76, #77, #78, #79 , #80 , #81 , #82 , #84 , #85 , #86, #88 , #89, #90, #91 , #92 , #94, #96