-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DON'T MERGE] feat(x/gov): add governors #16
Draft
giunatale
wants to merge
47
commits into
atomone-hub:main
Choose a base branch
from
giunatale:governors
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Sep 13, 2024
-
tally prototype with governors
Only sketching out how the tally would work for now. Lots of stuff is left undefined but the strategy is the one outlined in https://gist.github.com/giunatale/95e9b43f6e265ba32b29e2769f7b8a37?permalink_comment_id=5067400#gistcomment-5067400 but with the restriction of being able to delegate a percentage of its bonded tokens to at most one governor (https://gist.github.com/giunatale/95e9b43f6e265ba32b29e2769f7b8a37?permalink_comment_id=5187246#gistcomment-5187246) It assumes that every time someone redelegates, undelegates or adds to its delegations a hook is called to check if there is a governor delegated to in x/gov, and the governor's total shares updated accordingly. The governor's total shares are a collection of share amounts for different validators.
Configuration menu - View commit details
-
Copy full SHA for b301574 - Browse repository at this point
Copy the full SHA b301574View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cb99c2 - Browse repository at this point
Copy the full SHA 8cb99c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41b042f - Browse repository at this point
Copy the full SHA 41b042fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4a8c03 - Browse repository at this point
Copy the full SHA d4a8c03View commit details
Commits on Sep 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96abd4c - Browse repository at this point
Copy the full SHA 96abd4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ad9d8 - Browse repository at this point
Copy the full SHA f9ad9d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 700703d - Browse repository at this point
Copy the full SHA 700703dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c3392 - Browse repository at this point
Copy the full SHA f6c3392View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6951d84 - Browse repository at this point
Copy the full SHA 6951d84View commit details -
remove percentage and try sorting governors by VP
can only delegate all or nothing to governors now
Configuration menu - View commit details
-
Copy full SHA for 1a8495c - Browse repository at this point
Copy the full SHA 1a8495cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a769118 - Browse repository at this point
Copy the full SHA a769118View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca19aaf - Browse repository at this point
Copy the full SHA ca19aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for be1db00 - Browse repository at this point
Copy the full SHA be1db00View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1a2bbb - Browse repository at this point
Copy the full SHA e1a2bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 851c005 - Browse repository at this point
Copy the full SHA 851c005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 372bca2 - Browse repository at this point
Copy the full SHA 372bca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ea0dad - Browse repository at this point
Copy the full SHA 4ea0dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for fedba97 - Browse repository at this point
Copy the full SHA fedba97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68645f2 - Browse repository at this point
Copy the full SHA 68645f2View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 201b112 - Browse repository at this point
Copy the full SHA 201b112View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e5c1284 - Browse repository at this point
Copy the full SHA e5c1284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f37870 - Browse repository at this point
Copy the full SHA 6f37870View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0cdec9 - Browse repository at this point
Copy the full SHA c0cdec9View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 80f44c7 - Browse repository at this point
Copy the full SHA 80f44c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for afa8d07 - Browse repository at this point
Copy the full SHA afa8d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58d6a83 - Browse repository at this point
Copy the full SHA 58d6a83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44d71e6 - Browse repository at this point
Copy the full SHA 44d71e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5767cca - Browse repository at this point
Copy the full SHA 5767ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25d017a - Browse repository at this point
Copy the full SHA 25d017aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 671755c - Browse repository at this point
Copy the full SHA 671755cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86031e6 - Browse repository at this point
Copy the full SHA 86031e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a9f71f - Browse repository at this point
Copy the full SHA 3a9f71fView commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8eac36 - Browse repository at this point
Copy the full SHA b8eac36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcbd0f - Browse repository at this point
Copy the full SHA 9bcbd0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8daaffb - Browse repository at this point
Copy the full SHA 8daaffbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ff811 - Browse repository at this point
Copy the full SHA 26ff811View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec48fe5 - Browse repository at this point
Copy the full SHA ec48fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 180e1c1 - Browse repository at this point
Copy the full SHA 180e1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e147827 - Browse repository at this point
Copy the full SHA e147827View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0d3865 - Browse repository at this point
Copy the full SHA e0d3865View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f45be - Browse repository at this point
Copy the full SHA 48f45beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0659b9d - Browse repository at this point
Copy the full SHA 0659b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b79c43 - Browse repository at this point
Copy the full SHA 8b79c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8e5a9 - Browse repository at this point
Copy the full SHA 1f8e5a9View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 374c315 - Browse repository at this point
Copy the full SHA 374c315View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 90f540c - Browse repository at this point
Copy the full SHA 90f540cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5e5ce4 - Browse repository at this point
Copy the full SHA c5e5ce4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.