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

Audit Fixes #2

Merged
merged 8 commits into from
Jan 27, 2025
Prev Previous commit
Next Next commit
Fix DMDcoin#63: Remove ineffective abstain votes
MSalman6 committed Jan 23, 2025
commit a532195b473c241ea5d2ebcb7b885145d61c4862
1 change: 0 additions & 1 deletion contracts/library/DaoStructs.sol
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@ enum ProposalState {
}

enum Vote {
Abstain,
No,
Yes
}
1 change: 0 additions & 1 deletion test/DiamondDao.spec.ts
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@ enum DaoPhase {
}

enum Vote {
Abstain,
No,
Yes
}
1 change: 0 additions & 1 deletion test/ProposalExecution.spec.ts
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@ import { DiamondDao, MockStakingHbbft, MockValidatorSetHbbft } from "../typechai
const EmptyBytes = ethers.hexlify(new Uint8Array());

enum Vote {
Abstain,
No,
Yes
}
1 change: 0 additions & 1 deletion test/ProposalFinalization.spec.ts
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ import { DiamondDao, MockStakingHbbft, MockValidatorSetHbbft } from "../typechai
const EmptyBytes = ethers.hexlify(new Uint8Array());

enum Vote {
Abstain,
No,
Yes
}
1 change: 0 additions & 1 deletion test/ProposalValueGuards.spec.ts
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ import { DiamondDao, MockStakingHbbft, MockValidatorSetHbbft } from "../typechai
const EmptyBytes = ethers.hexlify(new Uint8Array());

enum Vote {
Abstain,
No,
Yes
}