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

refactor: clean unused networkConfig #6342

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

satish-ravi
Copy link
Contributor

Description

Removed unused config, replaced config that could be easily inferred from another config.

Test plan

CI

Related issues

N/A

Backwards compatibility

N/A

Network scalability

N/A

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.94%. Comparing base (4c5db02) to head (847d10b).
Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6342      +/-   ##
==========================================
- Coverage   88.95%   88.94%   -0.02%     
==========================================
  Files         737      737              
  Lines       31445    31423      -22     
  Branches     5833     5823      -10     
==========================================
- Hits        27973    27950      -23     
- Misses       3274     3275       +1     
  Partials      198      198              
Files with missing lines Coverage Δ
src/celoNews/CeloNewsFeed.tsx 97.14% <100.00%> (ø)
src/config.ts 96.33% <ø> (-0.04%) ⬇️
src/in-house-liquidity/client.ts 100.00% <100.00%> (ø)
src/keylessBackup/index.ts 98.00% <100.00%> (+0.04%) ⬆️
src/transactions/feed/TransactionDetailsScreen.tsx 93.22% <100.00%> (-0.12%) ⬇️
...ons/feed/detailContent/TransferReceivedContent.tsx 93.54% <100.00%> (-0.40%) ⬇️
...actions/feed/detailContent/TransferSentContent.tsx 96.96% <100.00%> (-0.09%) ⬇️
src/utils/currencies.ts 83.33% <ø> (-0.67%) ⬇️
src/web3/networkConfig.ts 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c5db02...847d10b. Read the comment docs.

export enum CiCoCurrency {
CELO = 'CELO',
cUSD = 'cUSD',
cEUR = 'cEUR',
cREAL = 'cREAL',
ETH = 'ETH',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

to make knip happy. This wasn't used anywhere. We should ultimately get rid of this, but there are some legacy fiat exchanges dependencies on this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just removed RECAPTCHA_SITE_KEY here

Copy link
Collaborator

@kathaypacific kathaypacific left a comment

Choose a reason for hiding this comment

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

🧹🥳

Copy link
Member

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

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

Awesome! 🚀

@satish-ravi satish-ravi added this pull request to the merge queue Dec 10, 2024
Merged via the queue into main with commit dbbb667 Dec 10, 2024
15 checks passed
@satish-ravi satish-ravi deleted the satish/clean-network-config branch December 10, 2024 18:14
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