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

[celotool] Some ❤️. Clean up #948

Merged
merged 8 commits into from
Sep 14, 2019
Merged

[celotool] Some ❤️. Clean up #948

merged 8 commits into from
Sep 14, 2019

Conversation

mcortesi
Copy link
Contributor

@mcortesi mcortesi commented Sep 12, 2019

Description

Changes:

  • don't use @celo/celootool for imports. Only works thanks to learn,
    not recommended
  • Move geth e2e tests inside src/. Now they are part of tsconfig
    project and got checked by the linter
  • Cleanup tsconfig. inherit from tsconfig.library one
  • Remove index.d.ts (duplicated)
  • Remove some unused filed: pumba.yaml, constants.sh & useless_static_nodes.json
  • Add required dependencies that were implicit and relied on yarn/lerna hoisting to work

@codecov
Copy link

codecov bot commented Sep 13, 2019

Codecov Report

Merging #948 into master will increase coverage by 4.87%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #948      +/-   ##
==========================================
+ Coverage   67.01%   71.88%   +4.87%     
==========================================
  Files         252      280      +28     
  Lines        7298     9356    +2058     
  Branches      417      750     +333     
==========================================
+ Hits         4891     6726    +1835     
- Misses       2326     2547     +221     
- Partials       81       83       +2
Flag Coverage Δ
#mobile 67.01% <ø> (ø) ⬆️
#protocol 89.16% <ø> (?)
Impacted Files Coverage Δ
packages/mobile/src/utils/formatting.ts 85.18% <0%> (ø) ⬆️
packages/mobile/src/identity/reducer.ts 41.66% <0%> (ø) ⬆️
...kages/protocol/contracts/identity/Attestations.sol 97.27% <0%> (ø)
.../common/linkedlists/SortedLinkedListWithMedian.sol 76.66% <0%> (ø)
...ackages/protocol/contracts/common/FractionUtil.sol 5.71% <0%> (ø)
.../contracts/common/linkedlists/SortedLinkedList.sol 88.88% <0%> (ø)
...kages/protocol/contracts/stability/StableToken.sol 90.19% <0%> (ø)
...ckages/protocol/contracts/common/UsingRegistry.sol 100% <0%> (ø)
packages/protocol/contracts/common/Registry.sol 100% <0%> (ø)
...kages/protocol/contracts/governance/Governance.sol 96.1% <0%> (ø)
... and 20 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 d613e3b...f6c540b. Read the comment docs.

Changes:
 - don't use @celo/celootool for imports. Only works thanks to learn,
 not recommended
 - Move geth e2e tests inside src/. Now they are part of tsconfig
 project and got checked by the linter
 - Cleanup tsconfig. inherit from tsconfig.library one
 - Remove index.d.ts (duplicated)
 - Remove some unused filed: pumba.yaml, constants.sh & useless_static_nodes.json
So celotool can use it too.
@mcortesi mcortesi merged commit b2ae5d7 into master Sep 14, 2019
@mcortesi mcortesi deleted the mc/celotool/cleanup branch September 14, 2019 22:11
aaronmgdr added a commit that referenced this pull request Sep 17, 2019
* master: (132 commits)
  [Wallet] Differentiate dollars and gold transactions (#1021)
  [wip] LinkedList cycle fix (#941)
  Fix slither issues (#572)
  [Wallet] Disable import wallet button when the backup phrase is not valid (#1012)
  Fix fixed fraction division underflow (#952)
  [CircleCI]Run protocol coverage once a day (#1018)
  Expose and test validator set precompiles (#874)
  [celotool] Fund Faucet accounts on network init (#990)
  Add Nexmo as a text provider for MX and US numbers (#1002)
  [CircleCI]Run protocol test with and without coverage (#991)
  Increase memory requests for Alfajores nodes (#966)
  [wallet]Select blockchain url based on testnet (#936)
  Pilot app config and ability to not show testnet banner (#1009)
  Add Linux onboarding steps and a TOC to SETUP.md (#1004)
  Add README-dev.md (#989)
  [Wallet] Exchange flow formatting fixes (#961)
  [celotool] Cleanup genesis block generation (#988)
  [celotool] Some ❤️. Clean up (#948)
  CeloCLI sorted list of Validator Groups should not include groups with zero votes (#907)
  [contractkit] Fix tests (#963)
  ...
aaronmgdr added a commit that referenced this pull request Sep 18, 2019
* master: (72 commits)
  Remove unused Reserve.burnToken function (#984)
  Persistent disks for transaction nodes (#1016)
  [Wallet] Differentiate dollars and gold transactions (#1021)
  [wip] LinkedList cycle fix (#941)
  Fix slither issues (#572)
  [Wallet] Disable import wallet button when the backup phrase is not valid (#1012)
  Fix fixed fraction division underflow (#952)
  [CircleCI]Run protocol coverage once a day (#1018)
  Expose and test validator set precompiles (#874)
  [celotool] Fund Faucet accounts on network init (#990)
  Add Nexmo as a text provider for MX and US numbers (#1002)
  [CircleCI]Run protocol test with and without coverage (#991)
  Increase memory requests for Alfajores nodes (#966)
  [wallet]Select blockchain url based on testnet (#936)
  Pilot app config and ability to not show testnet banner (#1009)
  Add Linux onboarding steps and a TOC to SETUP.md (#1004)
  Add README-dev.md (#989)
  [Wallet] Exchange flow formatting fixes (#961)
  [celotool] Cleanup genesis block generation (#988)
  [celotool] Some ❤️. Clean up (#948)
  ...

# Conflicts:
#	packages/web/src/header/Header.3.tsx
aaronmgdr added a commit that referenced this pull request Sep 18, 2019
* master: (38 commits)
  Remove unused Reserve.burnToken function (#984)
  Persistent disks for transaction nodes (#1016)
  [Wallet] Differentiate dollars and gold transactions (#1021)
  [wip] LinkedList cycle fix (#941)
  Fix slither issues (#572)
  [Wallet] Disable import wallet button when the backup phrase is not valid (#1012)
  Fix fixed fraction division underflow (#952)
  [CircleCI]Run protocol coverage once a day (#1018)
  Expose and test validator set precompiles (#874)
  [celotool] Fund Faucet accounts on network init (#990)
  Add Nexmo as a text provider for MX and US numbers (#1002)
  [CircleCI]Run protocol test with and without coverage (#991)
  Increase memory requests for Alfajores nodes (#966)
  [wallet]Select blockchain url based on testnet (#936)
  Pilot app config and ability to not show testnet banner (#1009)
  Add Linux onboarding steps and a TOC to SETUP.md (#1004)
  Add README-dev.md (#989)
  [Wallet] Exchange flow formatting fixes (#961)
  [celotool] Cleanup genesis block generation (#988)
  [celotool] Some ❤️. Clean up (#948)
  ...
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.

3 participants