Skip to content

Certora audit fixes - #83

Merged
wildmolasses merged 14 commits into
mainfrom
audit-fixes
Jun 11, 2026
Merged

wildmolasses merged 14 commits into
mainfrom
audit-fixes

Conversation

@wildmolasses

Copy link
Copy Markdown
Contributor

No description provided.

funkyenough and others added 13 commits January 27, 2026 14:44
…ernor` (#71)

* fix: inherit BasicCouncilVetoGovernor instead of duplication

* refactor: abstract MAIN_DAO_TOKEN type from IERC5805 to address

* test: add unit tests

* compoundify

---------

Co-authored-by: wildmolasses <changes@gmail.com>
* fix: inherit BasicCouncilVetoGovernor instead of duplication

* refactor: abstract MAIN_DAO_TOKEN type from IERC5805 to address

* test: add unit tests

* compoundify

* fix: address H-01 as well as H-02, adjust test harness, unit test, integration test

* fix: remove proposalEta check, add veto overridden check in _voteSucceeded, update test harness, test

---------

Co-authored-by: wildmolasses <changes@gmail.com>
* fix: inherit BasicCouncilVetoGovernor instead of duplication

* refactor: abstract MAIN_DAO_TOKEN type from IERC5805 to address

* test: add unit tests

* compoundify

* fix: address H-01 as well as H-02, adjust test harness, unit test, integration test

* fix: remove proposalEta check, add veto overridden check in _voteSucceeded, update test harness, test

* fix: address H-01 as well as H-02, adjust test harness, unit test, integration test

* fix: remove proposalEta check, add veto overridden check in _voteSucceeded, update test harness, test

* fix: override council governor proposalEta, add tests

---------

Co-authored-by: wildmolasses <changes@gmail.com>
…al-Governor Forwarding (#73)

* fix: address H-01 as well as H-02, adjust test harness, unit test, integration test

* fix: remove proposalEta check, add veto overridden check in _voteSucceeded, update test harness, test

* fix: add explicit return value for _isValidDescriptionForProposer
* fix: reorder heritance in BasicCouncilGovernor state

* fix: add _mockVetoGovernorProposalEta
* feat: snapshot extension parameters at proposal creation

* use checkpoints

* - Clean up `_votingPeriodExtensionThresholdTriggered`
- Add OZ-style timpoint based getter for `votingPeriodExtension` and `minorVetoExtensionThresholdPct`
- Add unit tests

---------

Co-authored-by: wildmolasses <changes@gmail.com>
* fix: add natspec for reducing quorum rounding error

* small change

---------

Co-authored-by: wildmolasses <changes@gmail.com>
@wildmolasses
wildmolasses merged commit d34078b into main Jun 11, 2026
@github-actions

Copy link
Copy Markdown

Coverage after merging audit-fixes into main will be

97.97%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   BasicCouncilGovernor.sol100%100%100%100%
   BasicCouncilVetoGovernor.sol93.06%100%91.30%93.62%233, 239, 266
   CompoundCouncilVetoGovernor.sol100%100%100%100%
   CouncilERC20.sol90.63%100%87.50%90.48%94–95
src/extensions
   GovernorAdmin.sol100%100%100%100%
   GovernorCouncilQueuing.sol100%100%100%100%
   GovernorExtendVetoPeriod.sol100%100%100%100%
   GovernorVetoCountingSimple.sol100%100%100%100%
   GovernorVetoGuardian.sol100%100%100%100%
   GovernorVetoOverride.sol100%100%100%100%
   GovernorVotesVetoThresholdFraction.sol93.55%0%100%95.45%111–112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants