solana-program-library/governance/program/tests/program_test
Sebastian Bor 11ba3fb824
Governance: Constrain active proposals (#2268)
* wip: add unresolved_proposal_count to Proposal

* chore: update create_proposal test

* chore: bump version

* feat: decrease unresolved proposal count for Cancel ix

* chore: rename unresolved to outstanding

* feat: decrease outstanding proposal count for CastVote ix

* feat: decrease outstanding proposal count for FinalizeVote ix

* feat: Prevent withdrawals with outstanding proposals

* chore: fix unit test

* chore: make clippy happy

* chore: update instructions comments

* chore: temp. exclude tests with slots wrapping
2021-08-12 03:05:03 +02:00
..
cookies.rs Governance: Min tokens to create governance (#2203) 2021-08-03 09:10:45 +01:00
mod.rs Governance: Constrain active proposals (#2268) 2021-08-12 03:05:03 +02:00
tools.rs Governance: SetGovernanceConfig instruction (#2039) 2021-07-10 11:19:22 +01:00