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

Improvements to faucet for stake-off, fix celotool env check #2068

Merged
merged 3 commits into from
Dec 5, 2019

Conversation

timmoreton
Copy link
Contributor

Description

Add some flags to make life easier with faucet:

  --checkzero     Check that the gold balance is zero before fauceting           [boolean] [default: false]
  --blockscout    Open in blockscout afterwards                                  [boolean] [default: false]

and support comma-separated accounts, with or without 0x prefix, here:

  --account       Account(s) to faucet                                                  [string] [required]

Tested

On a bunch of envs.

Other changes

Also the warning about deploying changes to a staging or prod environment were broken. Fixed them so now warnings only apply to a prod env and they actually work.

Related issues

@codecov
Copy link

codecov bot commented Dec 5, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@eff7f62). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2068   +/-   ##
=========================================
  Coverage          ?   74.42%           
=========================================
  Files             ?      281           
  Lines             ?     7824           
  Branches          ?      975           
=========================================
  Hits              ?     5823           
  Misses            ?     1884           
  Partials          ?      117
Flag Coverage Δ
#mobile 74.42% <ø> (?)

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 eff7f62...593ad94. Read the comment docs.

@timmoreton timmoreton added the automerge Have PR merge automatically when checks pass label Dec 5, 2019
@timmoreton timmoreton merged commit 6980fd8 into master Dec 5, 2019
@timmoreton timmoreton deleted the timmoreton/improve-faucet branch December 5, 2019 22:34
aaronmgdr added a commit that referenced this pull request Dec 5, 2019
* master: (208 commits)
  Fix potential hard timeouts (#2072)
  Add checkzero,blockscout,mulit-address support to faucet. Fix broken envType checks (#2068)
  README added mission (#1972)
  Add dev-utils README (#2081)
  Add validator:status command to check if a validator signer is online and producing blocks (#1906)
  Experience Brand Kit 1.0 (#1948)
  Adjust reference to the rewards app (#2065)
  [Wallet] Compatibility with exchange rate in string format (#2060)
  Fix Typo in CI config (#2056)
  Fix additional attestations instructions (#2057)
  Allow a specified address to disable/enable rewards distribution (#1828)
  Aaronmgdr/leaderboard patch (#2055)
  Move attestation service instructions to main page (#2051)
  Point To Updated Join Celo Video (#2052)
  Fix minor issue withe the ordering of instructions
  changes to docs related to discovery (#2025)
  [Docs] Fix typos in Running a Validator docs (#2045)
  Add node flag to celocli to set the target node for a single command (#2020)
  Fix broken links and spruce up CLI docs for accounts command (#2027)
  Prevent clipping of arrow component (#2036)
  ...

# Conflicts:
#	packages/web/src/layout/BookLayout.tsx
#	packages/web/src/lib.dom.d.ts
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.

2 participants