Skip to content

chore: remove CryptoCompare market provider#7490

Open
friofry wants to merge 1 commit into
release/10.34.xfrom
ab/issue-20243-rm-providers-cryptocompare
Open

chore: remove CryptoCompare market provider#7490
friofry wants to merge 1 commit into
release/10.34.xfrom
ab/issue-20243-rm-providers-cryptocompare

Conversation

@friofry

@friofry friofry commented May 29, 2026

Copy link
Copy Markdown
Contributor

Drop CryptoCompare provider wiring and its tests, and remove market proxy credentials that were only used by the CryptoCompare proxy path.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes the CryptoCompare market data provider and all related plumbing (config fields, request fields, proxy credentials, tests). Wallet market data lookups now use only CoinGecko (direct + proxy).

Changes:

  • Delete the cryptocompare provider package and its unit/network tests; remove its usage from wallet service initialization.
  • Drop StatusProxyMarketUser/StatusProxyMarketPassword from WalletConfig, WalletSecretsConfig, default builder, sensitive-log redaction, and functional test setup.
  • Remove the statusProxyStageName parameter from wallet.NewService / createWalletService and update callers and CoinGecko-only doc comments.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
services/wallet/thirdparty/market/cryptocompare/client.go Deleted provider client.
services/wallet/thirdparty/market/cryptocompare/client_test.go Deleted provider unit tests.
tests-unit-network/cryptocompare/cryptocompare_test.go Deleted live network test.
services/wallet/service.go Stop building CryptoCompare clients; drop statusProxyStageName arg.
services/wallet/api_impl_test.go Update NewService call.
services/wallet/keycard_pairings_test.go Update NewService call.
pkg/backend/node/status_node_services.go Drop stage-name plumbing from wallet service creation.
pkg/backend/defaults.go Stop copying StatusProxyMarket* request fields.
params/config.go Remove StatusProxyMarket* fields from WalletConfig.
protocol/requests/create_account.go Remove StatusProxyMarket* request fields.
internal/logutils/callog/status_request_log.go Remove redaction entries for removed fields.
tests-functional/clients/status_backend.py Stop setting market proxy credentials in test setup.
services/wallet/token/token.go Update doc comments to mention only CoinGecko.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@status-im-auto

status-im-auto commented May 29, 2026

Copy link
Copy Markdown
Member

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 4c7c8af 1 2026-05-29 17:47:03 ~8 min windows/status-go 📦zip
✔️ 4c7c8af 1 2026-05-29 17:47:31 ~9 min linux/status-go 📦zip
✔️ 4c7c8af 1 2026-05-29 17:51:59 ~13 min macos/status-go 📦zip
✖️ 4c7c8af 1 2026-05-29 17:59:27 ~20 min tests-rpc 📄log
✔️ 4c7c8af 1 2026-05-29 18:17:28 ~38 min tests 📄log

@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/10.34.x@ad9d583). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                 @@
##             release/10.34.x    #7490   +/-   ##
==================================================
  Coverage                   ?   61.31%           
==================================================
  Files                      ?      850           
  Lines                      ?   118990           
  Branches                   ?        0           
==================================================
  Hits                       ?    72961           
  Misses                     ?    38565           
  Partials                   ?     7464           
Flag Coverage Δ
functional 40.34% <100.00%> (?)
unit 55.24% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
internal/logutils/callog/status_request_log.go 90.00% <ø> (ø)
params/config.go 85.62% <ø> (ø)
pkg/backend/defaults.go 72.69% <ø> (ø)
pkg/backend/node/status_node_services.go 77.77% <100.00%> (ø)
protocol/requests/create_account.go 36.84% <ø> (ø)
services/wallet/service.go 85.08% <100.00%> (ø)
services/wallet/token/token.go 56.90% <ø> (ø)

@friofry

friofry commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

will be merged together with #7492

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.

4 participants