Skip to content
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

Fix vetoer bypassing only_members_execute flag #780

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

NoahSaso
Copy link
Member

This fixes a minor bug found during the Oak Security veto audit in which the vetoer could bypass the only_members_execute configuration, executing a proposal even if they are not a member of the DAO, after the veto timelock expires.

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2cc2a6e) 96.43% compared to head (758e463) 96.45%.

Files Patch % Lines
...cts/proposal/dao-proposal-multiple/src/contract.rs 91.66% 1 Missing ⚠️
...racts/proposal/dao-proposal-single/src/contract.rs 91.66% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           noah/2.4.0     #780      +/-   ##
==============================================
+ Coverage       96.43%   96.45%   +0.01%     
==============================================
  Files             204      204              
  Lines           52194    52395     +201     
==============================================
+ Hits            50334    50537     +203     
+ Misses           1860     1858       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@JakeHartnell JakeHartnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@NoahSaso NoahSaso merged commit 2b7c1b2 into noah/2.4.0 Dec 13, 2023
9 checks passed
@NoahSaso NoahSaso deleted the noah/vetoer-execute-fix branch December 13, 2023 23:31
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