Skip to content
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

Changing validator group voting gold #2171

Merged
merged 5 commits into from
Dec 11, 2019

Conversation

lucasege
Copy link
Contributor

@lucasege lucasege commented Dec 11, 2019

Description

Changed the amount of voted gold from all of group's gold to a configurable parameter of less gold for all the groups except the first and final group, which still vote with ~100k gold to maintain a presence in elections for monitoring.

Tested

CI tests

Other changes

Added config var groupLockedGold

@codecov
Copy link

codecov bot commented Dec 11, 2019

Codecov Report

Merging #2171 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #2171    +/-   ##
========================================
  Coverage   74.88%   74.88%            
========================================
  Files         279      279            
  Lines        7797     7797            
  Branches      971      690   -281     
========================================
  Hits         5839     5839            
  Misses       1842     1842            
  Partials      116      116
Flag Coverage Δ
#mobile 74.88% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca6672b...47cf711. Read the comment docs.

Copy link
Contributor

@asaj asaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you create an issue to remove the previous logic?

Also please have @timmoreton take a look as he was the one who wrote that logic initially and may have other ideas about how this should be done

packages/protocol/migrationsConfig.js Outdated Show resolved Hide resolved
@asaj asaj assigned timmoreton and unassigned asaj Dec 11, 2019
@lucasege lucasege force-pushed the lucasege/lowering-celo-validator-voting branch from 2552573 to bee19c2 Compare December 11, 2019 05:01
packages/protocol/migrationsConfig.js Outdated Show resolved Hide resolved
@timmoreton timmoreton assigned lucasege and unassigned timmoreton Dec 11, 2019
@lucasege lucasege force-pushed the lucasege/lowering-celo-validator-voting branch from 415c833 to 47cf711 Compare December 11, 2019 22:10
@lucasege lucasege added the automerge Have PR merge automatically when checks pass label Dec 11, 2019
@celo-ci-bot-user celo-ci-bot-user merged commit 695b393 into master Dec 11, 2019
@celo-ci-bot-user celo-ci-bot-user deleted the lucasege/lowering-celo-validator-voting branch December 11, 2019 22:42
aaronmgdr added a commit that referenced this pull request Dec 12, 2019
* master:
  Add /test_attestations endpoint on the attestation service (#2189)
  Overhaul readme (#2201)
  Dont show this error for now (#2205)
  Changing validator group voting gold (#2171)
  Add attestation info for reconnecting (#2195)
  Add reconnecting to a network to docs (#2190)
  Add instructions for transitioning from phase 1.0 to phase 1.1 (#2177)
  VM monitoring, bigger VMs, persistent disks for full nodes, prom to sd for proxies (#2176)
aaronmgdr added a commit that referenced this pull request Dec 12, 2019
* master: (41 commits)
  Add /test_attestations endpoint on the attestation service (#2189)
  Overhaul readme (#2201)
  Dont show this error for now (#2205)
  Changing validator group voting gold (#2171)
  Add attestation info for reconnecting (#2195)
  Add reconnecting to a network to docs (#2190)
  Add instructions for transitioning from phase 1.0 to phase 1.1 (#2177)
  VM monitoring, bigger VMs, persistent disks for full nodes, prom to sd for proxies (#2176)
  Three little improvements to website (#2161)
  Fix/contractkit test flakyness (#2150)
  [Wallet] Fix bug causing banner to stay visible once app is connected (#2154)
  Update documentation for Proxy IP addresses and ports (#2179)
  Add Baklava phase 1.1 accounts to genesis block (#2173)
  Use fluentd natively for structured logging (#2174)
  Swallowing error for more friendly cli UX (#2175)
  Allow the validator account to whitelist hotfixes (#2166)
  Clarify requirements for local vs remote machines (#2172)
  Calculate epoch rewards adjusted for validator group uptime (#2104)
  Remove ref to script, dont expose port on ext interface in docker cmd lines, add back security reminder about this. Remove ref to office hours (#2170)
  Slashing: Adding forceDeaffiliateIfValidator fn to Validators.sol (#2095)
  ...

# Conflicts:
#	packages/web/src/about/Team.tsx
#	packages/web/src/about/VideoCover.tsx
#	packages/web/src/utils/utils.ts
aaronmgdr added a commit that referenced this pull request Dec 12, 2019
* master: (377 commits)
  Add /test_attestations endpoint on the attestation service (#2189)
  Overhaul readme (#2201)
  Dont show this error for now (#2205)
  Changing validator group voting gold (#2171)
  Add attestation info for reconnecting (#2195)
  Add reconnecting to a network to docs (#2190)
  Add instructions for transitioning from phase 1.0 to phase 1.1 (#2177)
  VM monitoring, bigger VMs, persistent disks for full nodes, prom to sd for proxies (#2176)
  Three little improvements to website (#2161)
  Fix/contractkit test flakyness (#2150)
  [Wallet] Fix bug causing banner to stay visible once app is connected (#2154)
  Update documentation for Proxy IP addresses and ports (#2179)
  Add Baklava phase 1.1 accounts to genesis block (#2173)
  Use fluentd natively for structured logging (#2174)
  Swallowing error for more friendly cli UX (#2175)
  Allow the validator account to whitelist hotfixes (#2166)
  Clarify requirements for local vs remote machines (#2172)
  Calculate epoch rewards adjusted for validator group uptime (#2104)
  Remove ref to script, dont expose port on ext interface in docker cmd lines, add back security reminder about this. Remove ref to office hours (#2170)
  Slashing: Adding forceDeaffiliateIfValidator fn to Validators.sol (#2095)
  ...

# Conflicts:
#	packages/web/src/community/connect/ConnectPage.tsx
#	packages/web/src/community/connect/Fellow.tsx
#	packages/web/src/dev/CoverAction.tsx
#	packages/web/src/ecosystem/EcoFund.tsx
#	packages/web/src/shared/Button.3.tsx
#	packages/web/src/shared/ConnectionFooter.tsx
#	packages/web/src/shared/SocialChannels.tsx
#	packages/web/src/shared/menu-items.ts
#	packages/web/static/locales/en/community.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants