Skip to content

Optimizing rewards:show#2508

Merged
jfoutts-celo merged 3 commits intocelo-org:masterfrom
mrsmkl:optimize-rewards-2505
Jan 27, 2020
Merged

Optimizing rewards:show#2508
jfoutts-celo merged 3 commits intocelo-org:masterfrom
mrsmkl:optimize-rewards-2505

Conversation

@mrsmkl
Copy link
Copy Markdown
Contributor

@mrsmkl mrsmkl commented Jan 23, 2020

Description

CLI command rewards:show is slow because it fetches the affiliates for groups. But they are not needed, so disabled that.

Tested

Only manual testing.

Other changes

Related issues

Backwards compatibility

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 23, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2508   +/-   ##
=======================================
  Coverage   73.26%   73.26%           
=======================================
  Files         555      555           
  Lines       13789    13789           
  Branches     1660     1660           
=======================================
  Hits        10103    10103           
  Misses       3407     3407           
  Partials      279      279
Flag Coverage Δ
#mobile 74.13% <0%> (ø) ⬆️
#web 72.04% <0%> (ø) ⬆️

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 a795d70...b527a1a. Read the comment docs.

@jfoutts-celo jfoutts-celo merged commit 335145a 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.

rewards:show command is very resource intensive

2 participants