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

Set usage of shuffled round robin in the genesis block #1464

Merged
merged 10 commits into from
Oct 29, 2019

Conversation

nategraf
Copy link
Contributor

Description

PR celo-org/celo-blockchain#536 introduces the shuffled round robin ordering option as a new proposer policy within Istanbul. Configuration of the ordering policy is set in the genesis block.

Tested

Deployed a testnet and verified that blocks are produced and the proposer ordering is pseudo-random.

Related issues

Backwards compatibility

This PR only changes the defaults for new chains

@nategraf nategraf force-pushed the victor/use-the-shuffle branch from 776201d to 5a99d08 Compare October 25, 2019 00:32
@codecov
Copy link

codecov bot commented Oct 25, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1464   +/-   ##
=======================================
  Coverage   65.39%   65.39%           
=======================================
  Files         271      271           
  Lines        8187     8187           
  Branches      570      570           
=======================================
  Hits         5354     5354           
  Misses       2711     2711           
  Partials      122      122
Flag Coverage Δ
#mobile 65.39% <ø> (ø) ⬆️

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 5ecafd5...4083350. Read the comment docs.

Copy link
Contributor

@tkporter tkporter left a comment

Choose a reason for hiding this comment

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

Could you add a comment saying what 0 vs 2 means?

@nategraf
Copy link
Contributor Author

Added a comment explaining what the number means

@nategraf nategraf force-pushed the victor/use-the-shuffle branch from 7bbac9e to 20ef38d Compare October 25, 2019 18:13
@nategraf nategraf merged commit 494f140 into master Oct 29, 2019
@nategraf nategraf deleted the victor/use-the-shuffle branch October 29, 2019 00:24
aaronmgdr added a commit that referenced this pull request Oct 29, 2019
…repo into aaronmgdr/invite-page

* 'aaronmgdr/invite-page' of github.com:celo-org/celo-monorepo: (63 commits)
  Fix compile error during local clean build (#1506)
  Update to RN 61 and AndroidX (#1343)
  Set usage of shuffled round robin in the genesis block (#1464)
  Add spanish backup key for backup key flow (#1500)
  Fix sync tests by pulling genesis block to determine epoch length (#1504)
  [Wallet] fix missing full name error alert (#1496)
  [Wallet + Verification Pool] Add details about generating an app-signature (#1482)
  Deploy celo's image of ethstats (#1421)
  Storing previous randomness values (#1197)
  [Wallet] Fix wei invite bug (#1489)
  Point all packages to latest ganache-cli master (#1488)
  Point end-to-end tests back to master (#1469)
  [Wallet] Migrate app view functions to contractkit (#1381)
  [Wallet] Add script to translate locale strings (#1485)
  [Wallet] Update wallet celo client version and add missing translations for backup flow (#1483)
  [Wallet] Hotfix local currency (#1481)
  [Wallet] Remove QR debouncing to improve responsiveness (#1480)
  [Wallet] Upgrade app version to v1.5.1 (#1463)
  Update governance end-to-end tests to work with changed precompile (#1476)
  Fixes key_placer.sh when encrypting files (#1465)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants