What: Add tests that verify governance voting works correctly.
Why: Governance is a new feature. Tests must verify proposal creation, voting, and execution.
Scope: Create test that: creates proposal, verifies voting power, casts votes, verifies proposal passes/fails, executes proposal.
Acceptance criteria:
- Proposal creation works
- Voting power is calculated
- Votes are recorded
- Execution works
Technical context: tests/unit/token_tests.rs — existing unit tests.
What: Add tests that verify governance voting works correctly.
Why: Governance is a new feature. Tests must verify proposal creation, voting, and execution.
Scope: Create test that: creates proposal, verifies voting power, casts votes, verifies proposal passes/fails, executes proposal.
Acceptance criteria:
Technical context:
tests/unit/token_tests.rs— existing unit tests.