-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audit: use uint256 instead of bool in mappings #208
Conversation
Codecov Report
@@ Coverage Diff @@
## main #208 +/- ##
=======================================
Coverage 80.82% 80.82%
=======================================
Files 28 28
Lines 459 459
Branches 111 111
=======================================
Hits 371 371
Misses 73 73
Partials 15 15
|
looks good, theres also the salts mapping in |
Yeah found 1-2 additional occurrences that I fixed. Cheers for reminding me to check the whole codebase :) |
…t_inefficient_boolean_mappings
* audit: prevent reentrancy issues in execute function * comment: add comment for cached proposal * comment: remove comment for finalization status modification * chore: CEI explanation * chore: typo --------- Co-authored-by: Orlando <[email protected]>
* refactor: timestamps to numbers in space * refactor: block numbers in proposal status funcs * refactored: removed timestamp resolver * refactor: proposal validation to use block nubmers * refactor: removed snapshot block number * chore: updated tests * refactor: make getVotingPower a view function * refactor: revert active proposal limiter to timestamps * refactor: revert timelocks to timestamps * chore: fixed tests * Update IVotingStrategy.sol chore: natspec typo --------- Co-authored-by: Orlando <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK
Closes #182