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

Configurable genesis balances #1838

Merged
merged 4 commits into from
Nov 23, 2019
Merged

Conversation

timmoreton
Copy link
Contributor

Description

Introduce new .env file params that allow genesis balances to be specified better:

  • FAUCET_GENESIS_ACCOUNTS -- number of faucet accounts
  • FAUCET_GENESIS_BALANCE -- for each faucet account
  • ORACLE_GENESIS_BALANCE -- for singleton oracle account
  • VALIDATOR_GENESIS_BALANCE -- for other validators
  • VALIDATOR_ZERO_GENESIS_BALANCE -- for validator zero

Tested

e2e tests.

Other changes

Remove some more OG val stuff.

Backwards compatibility

no

@@ -21,6 +21,8 @@ ETHSTATS_DOCKER_IMAGE_TAG="cd037ea1e18848466452ba9890c1f1bcd3f61009"
ETHSTATS_TRUSTED_ADDRESSES="0x480b0e0A641AE45521377d4984d085a003934561,0xF523976B9FB2160e9a43D8Aee016b98ea8f57837"
ETHSTATS_BANNED_ADDRESSES="0xFd24A0699288E141A855bC8c0dd0400C5E89D5e5"

FAUCET_GENESIS_ACCOUNTS=2
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: "NUM_FAUCET_GENESIS_ACCOUNTS"?

@asaj asaj assigned timmoreton and unassigned asaj Nov 23, 2019
@timmoreton timmoreton merged commit a4efd0b into master Nov 23, 2019
@timmoreton timmoreton deleted the timmoreton/genesis-balances branch November 23, 2019 07:52
aaronmgdr added a commit that referenced this pull request Nov 26, 2019
* master: (61 commits)
  [Wallet] Handle `/v/<code` deep links for phone verifications (#1776)
  Patch tslint auto fix for macOS Catalina until tslint#6.x is out (#1802)
  Fix typos (#1855)
  Update documentation sidebar (#1861)
  [Wallet] Update forno dev documentation (#1818)
  [Docs] Correct typo
  Validator UX docs for baklava network (#1688) (#1849)
  Various improvements to the CLI, allow voters to revote for a group (#1840)
  Serialize to hex string (#1848)
  Update faucet to pull from the reserve when possible (#1844)
  Fix elect validators migration, deploy integration (#1847)
  Configurable genesis balances (#1838)
  Deploy new version of Celostats and minnor change from celo-blockchain (#1714)
  Make default node URL consistent in celocli (#1805)
  Onboarding feedback (#1811)
  return at least true, when the function is returning bool (#1825)
  Minor Contractkit changes (#1819)
  Point end-to-end tests back to master (#1824)
  Update migration config to correct protocol parameters (#1822)
  Update with new istanbul lookback window size flag (#1820)
  ...

# Conflicts:
#	yarn.lock
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.

2 participants