π Description
Close a proposal and execute its calldata once a simple majority is reached.
β
Acceptance Criteria
- Entrypoint execute(proposal_id: u256)
- Revert if voting period not ended
- Revert if for_votes <= against_votes
- Emit ProposalExecuted(proposal_id)
- Execution is immediate (no timelock)
π§ͺ Testing
- Simulate 51 % majority β execution succeeds
- 50 % / 50 % β execution reverts
- 49 % / 51 % β execution reverts
π Description
Close a proposal and execute its calldata once a simple majority is reached.
β Acceptance Criteria
π§ͺ Testing