-
Notifications
You must be signed in to change notification settings - Fork 369
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
Migrations: different CLabs groups gets different votes #1960
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
@@ Coverage Diff @@
## master #1960 +/- ##
=========================================
- Coverage 74.45% 74.2% -0.26%
=========================================
Files 281 278 -3
Lines 7817 7675 -142
Branches 685 674 -11
=========================================
- Hits 5820 5695 -125
+ Misses 1880 1863 -17
Partials 117 117
Continue to review full report at Codecov.
|
* master: (120 commits) Update docker image and instructions (#2000) DOCS correct typos (#1965) Add a space on payment request (#1935) expose signer through getValidator (#1997) Fix validator election migration bug with sorted list insertion (#1998) Deploy an oracle cronjob (#1814) Set default env in attestation service docker image as production (#1999) Attestation Bot POC (#1851) Only allow external RPCs for tx nodes (#1994) Specify web deps properly (#1950) Fix error calculating fees on currencies with high exchange rate (#1937) Small pre-stake-off CLI cleanup (#1953) Migrations: different CLabs groups gets different votes (#1960) [Wallet] Fix broken translation (decline, pay) (#1968) [Wallet]: Add Payments You've Requested notifications group & screen (#1902) [Wallet] Fix iOS bundle script failing with our monorepo setup (#1958) [NotificationService] Change exchange rate stored format (number timestamp and pair) (#1945) [Wallet] Fix premature hiding of syncing banner and increase some timeouts (#1957) Avoid `liner: function not supported in this terminal` (#1955) Support more human readable log output (#1929) ...
Description
Implements a sliding scale of voting LockedGold for CLabs groups in migrations.
A new parameter,
votesRatioOfLastVsFirstGroup
,>=1
determines the ratio of the votes in the last group vs the first. The first will be set as the minimum LockedGold required to stake (plus a small margin), and then each group will receive successively more from there, pro rata based on number of validators.Tested
Observed correct behavior in e2e tests.
Backwards compatibility
Yes