Skip to content

Commit

Permalink
Merge main into release/v3.x.x (#229)
Browse files Browse the repository at this point in the history
* 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
3 people authored Feb 12, 2025
1 parent 69f00a5 commit c4382a0
Show file tree
Hide file tree
Showing 75 changed files with 6,907 additions and 1,179 deletions.
2 changes: 2 additions & 0 deletions .changelog/v3.1.0/features/218-allow-unvoting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow users / aggregators to unvote without having to switch votes.
([\#218](https://github.com/informalsystems/hydro/pull/218))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Introduced SnapshotMaps for tracking the historical voting power for each user as well as the round total voting power.
([\#220](https://github.com/informalsystems/hydro/pull/220))
2 changes: 2 additions & 0 deletions .changelog/v3.1.0/features/220-introduce-compounder-cap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Introduced the compounder cap- a reserved portion of the maximum token lock limit that is allocated exclusively for known users from the previous round.
([\#220](https://github.com/informalsystems/hydro/pull/220))
2 changes: 2 additions & 0 deletions .changelog/v3.1.0/features/226-dao-governanace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added support for integrating Hydro as a voting module in DAO DAO governance smart contracts.
([\#226](https://github.com/informalsystems/hydro/pull/226))
7 changes: 7 additions & 0 deletions .changelog/v3.1.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!--
Add a summary for the release here.
If you don't change this message, or if this file is empty, the release
will not be created. -->

Date: February 11th, 2025
21 changes: 21 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# CHANGELOG

## v3.1.0

<!--
Add a summary for the release here.

If you don't change this message, or if this file is empty, the release
will not be created. -->

Date: February 11th, 2025

### FEATURES

- Allow users / aggregators to unvote without having to switch votes.
([\#218](https://github.com/informalsystems/hydro/pull/218))
- Introduced the compounder cap- a reserved portion of the maximum token lock limit that is allocated exclusively for known users from the previous round.
([\#220](https://github.com/informalsystems/hydro/pull/220))
- Introduced SnapshotMaps for tracking the historical voting power for each user as well as the round total voting power.
([\#220](https://github.com/informalsystems/hydro/pull/220))
- Added support for integrating Hydro as a voting module in DAO DAO governance smart contracts.
([\#226](https://github.com/informalsystems/hydro/pull/226))

## v3.0.0

Date: January 20th, 2025
Expand Down
Loading

0 comments on commit c4382a0

Please sign in to comment.