Skip to content

Added more CLI checks for registering validators and groups#2491

Merged
celo-ci-bot-user merged 5 commits intocelo-org:masterfrom
mrsmkl:validator-register-more-checks-2490
Jan 27, 2020
Merged

Added more CLI checks for registering validators and groups#2491
celo-ci-bot-user merged 5 commits intocelo-org:masterfrom
mrsmkl:validator-register-more-checks-2490

Conversation

@mrsmkl
Copy link
Copy Markdown
Contributor

@mrsmkl mrsmkl commented Jan 22, 2020

Description

Added more checks to have more clear error messages.

Tested

Added unit test

Other changes

Related issues

Backwards compatibility

@mrsmkl mrsmkl requested review from asaj and mcortesi as code owners January 22, 2020 09:46
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 22, 2020

Codecov Report

Merging #2491 into master will increase coverage by 0.32%.
The diff coverage is 48.1%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2491      +/-   ##
==========================================
+ Coverage   73.26%   73.58%   +0.32%     
==========================================
  Files         555      555              
  Lines       13789    13816      +27     
  Branches     1721     1661      -60     
==========================================
+ Hits        10103    10167      +64     
+ Misses       3405     3370      -35     
+ Partials      281      279       -2
Flag Coverage Δ
#mobile 74.1% <50.68%> (-0.04%) ⬇️
#web 72.86% <16.66%> (+0.81%) ⬆️
Impacted Files Coverage Δ
packages/mobile/test/schemas.ts 100% <ø> (ø) ⬆️
packages/web/src/home/HomeAnimation.tsx 54.76% <0%> (-1.34%) ⬇️
packages/mobile/src/geth/reducer.ts 73.33% <0%> (-7.92%) ⬇️
packages/mobile/src/geth/selectors.ts 100% <100%> (ø)
...kages/mobile/src/transactions/TransactionsList.tsx 65.85% <100%> (+0.42%) ⬆️
packages/mobile/src/geth/actions.ts 100% <100%> (ø) ⬆️
packages/mobile/src/redux/selectors.ts 78.57% <100%> (ø) ⬆️
packages/mobile/src/geth/saga.ts 24.13% <31.57%> (+0.88%) ⬆️
packages/mobile/src/web3/saga.ts 38.31% <39.28%> (+0.87%) ⬆️
packages/web/src/home/version3/HomeCover.tsx 74.19% <50%> (-1.67%) ⬇️
... and 8 more

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 b9744b7...5cac5b4. Read the comment docs.

Copy link
Copy Markdown
Contributor

@aaitor aaitor left a comment

Choose a reason for hiding this comment

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

looks neat :shipit:

@celo-ci-bot-user celo-ci-bot-user merged commit cd7be93 into celo-org:master Jan 27, 2020
aaronmgdr added a commit that referenced this pull request Jan 28, 2020
* master:
  🧹Web cleanup (readme + static dir) (#2562)
  Add readable proposals to governance:view command (#2545)
  Add explicit gas to exchange transactions to prevent errors (#2552)
  Fix off-by-one error in attributing signatures to blocks in CLI (#2559)
  ✅ add test for phone Input component (#2554)
  Add Youtube to Footer +  (#2556)
  Fix rounding error in Election.sol (#2540)
  [Wallet] Bump @celo/client to 0.0.266 (#2551)
  [Wallet] E2E test improvements (#2542)
  Deployed integration (#2550)
  do not fetch affiliates (#2508)
  Added more CLI checks for registering validators and groups (#2491)
  Micro Improvement to web tests (#2527)
  [Wallet] Prompt users with connectivity issues to switch to forno (#2526)
  cli: Fix voter rewards presentation (#2543)
  [Wallet] Fix missing spanish translation  (#2539)
  Downtime slashing when epoch changes (#2436)
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.

When registering with CLI, check that validator isn't registered yet

3 participants