-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
1 parent
69f00a5
commit 82c43c3
Showing
37 changed files
with
3,439 additions
and
954 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/220-historical-voting-power-tracking.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
2
.changelog/unreleased/features/220-introduce-compounder-cap.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
5f19172adc451140c7d14966faf217b82ed64bd70dfa518a4093d74bf8d60617 hydro.wasm | ||
5acd797d95c0addc2b457deab521c171acad2a514b0a1624f3f07f7775aacc59 tribute.wasm | ||
e2c17ff7bac4ff4ec80e63b8dfa6c0d65f53bad633f9fb80b26121431b97f07e hydro.wasm | ||
83f12ed4aa3b4900588096c639a9abec78080a4c91720442b47cba1b8059e63a tribute.wasm |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.