Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge main into release/v3.x.x (#229)
* Introduce compounder cap (#220) * introduce participant's cap * Introduce snapshot map for total voting power tracking and handle its population * Added round<->height tracking and implemented validation for users locking in extra_cap based on their voting power in previous round. * Introduced USER_LOCKS to be able to calculate users voting power at a given height * - Added test for compunders cap and fixed couple of minor bugs within the new code - validate_denom() modified to be able to execute for past rounds as well * fixing errors after merge from main * added tests for user lock snapshoting and heght<->round tracking * added transaction to remove the constants at a specified timestamps * implementation of migration * CR required changes * added SNAPSHOTS_ACTIVATION_HEIGHT * added migration tests * added changelogs, recompiled contracts and schemas * added util function for ICQ results mock * fixed interchain tests (#222) * borrow input Deps, Env and MessageInfo whenever possible (#224) * Allowing to unvote without having to switch to a new vote (#218) * Refactoring vote and adding unvote feature * Make clippy happy * Remove unnecessary unvoted_proposals in process_unvotes * Adding a test case for unvote * Update wasms * Improving readability by adding / restoring comments, renaming variables * Store vote and voting allowed round directly in process_votes * Adding new test: attempts to unvote non-existing or not-owned locks should fail * Adding changelog * Fix HydroBase.client.ts as generated by make schema * Addressing Dusan's comments * Hydro DAO DAO governance support (#226) * implement hydro DAO DAO governance support * added changelog * CR changes * Prepare release for v3.1.0 (#227) * Prepare v3.1.0 release * Regenerate schema * Regenerate client types * Change migration and version to v3.1.0 * Fix migration mod --------- Co-authored-by: arlai <[email protected]> Co-authored-by: Philip Offtermatt <[email protected]>
- Loading branch information