-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add code coverage script * update readme for code coverage * Check duplicates s119 (#38) * check for duplicate proposalIds in a standard funding slate * fix tests * fix typo * gas optimization * remove unused mapping * minor cleanups --------- Co-authored-by: Mike <mikehathaway@makerdao.com> * Sherlock 124 (#39) * expand comments * add tokens requestd check to executeExtraordinary; update fuzzExtraordinary test --------- Co-authored-by: Mike <mikehathaway@makerdao.com> * prevent transferFromWithPermit from being front run (#40) Co-authored-by: Mike <mikehathaway@makerdao.com> * Sherlock 64 (#43) * fix quadratic voting * fix most of the tests * add utility functions to calculate delegate rewards earned; fix delegate rewards test * add multi funding vote support * add funding vote multi function; support updating existing funding vote accumulator * fix voting power calculation; fix delegate rewards * fix tests * cleanups * add testQuadraticVotingTally * remove dead comment * add sqrt tests; add getFundingPowerVotes method and associated tests * rename sqrt to wsqrt; internalize sqrt scaling factor * rename variables; account for total cost of a proposal vote when revoting an existant proposal * fix quarterly distribution voting power accumulator * additional variable renaming * use account_ in castVote to stay consistent --------- Co-authored-by: Mike <mikehathaway@makerdao.com> * Fixes informational suggestions in Sherlock 9 and 10. (#41) * cleanup comments; remove magic numbers * additional comments; CONSTANT for snapshot blocks; cache array lengths in iterations * dmitri feedback * Styling cleanups of unchecked blocks --------- Co-authored-by: Mike <mikehathaway@makerdao.com> --------- Co-authored-by: Mike <mikehathaway@makerdao.com>
- Loading branch information
1 parent
e99fb12
commit dcbdfea
Showing
14 changed files
with
803 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
## Ethereum node endpoint ## | ||
ETH_RPC_URL = | ||
ETH_RPC_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.