Bounties-Network / Delphi

A simple mechanism for staking and claims
14 stars 4 forks source link

Total refactor of contract and tests #98

Closed lightclient closed 5 years ago

lightclient commented 5 years ago

I have rewritten the tests from scratch using to significantly reduce the amount of code and increase maintainability. This PR also integrates all of @mbeylin's changes made after the last contract viewing session. In addition to doing work on the tests, I removed all references to DelphiVoting for now as we don't have a concrete solution to arbitration curation and I did some refactoring of the DelphiStake contract to update events and reorder the parameters of some function calls.