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

fix_: hide mercuryo provider #6100

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mohsen-ghafouri
Copy link
Contributor

rel status-mobile/issues/21615

Description

hide Mercuryo from the list of on-ramp providers
so that we stay compliant with UK law.

@mohsen-ghafouri mohsen-ghafouri self-assigned this Nov 14, 2024
@status-im-auto
Copy link
Member

status-im-auto commented Nov 14, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2d41745 #1 2024-11-14 14:18:41 ~4 min macos 📦zip
✔️ 2d41745 #1 2024-11-14 14:19:10 ~4 min tests-rpc 📄log
✔️ 2d41745 #1 2024-11-14 14:19:17 ~4 min ios 📦zip
✔️ 2d41745 #1 2024-11-14 14:19:40 ~5 min macos 📦zip
✔️ 2d41745 #1 2024-11-14 14:19:55 ~5 min linux 📦zip
✔️ 2d41745 #1 2024-11-14 14:20:03 ~5 min android 📦aar
✔️ 2d41745 #1 2024-11-14 14:20:24 ~5 min windows 📦zip
✔️ 2d41745 #1 2024-11-14 14:48:28 ~34 min tests 📄log
✔️ 4305609 #2 2024-11-20 14:48:31 ~4 min macos 📦zip
✔️ 4305609 #2 2024-11-20 14:48:36 ~4 min linux 📦zip
✔️ 4305609 #2 2024-11-20 14:48:52 ~4 min ios 📦zip
✔️ 4305609 #2 2024-11-20 14:49:02 ~4 min windows 📦zip
✔️ 4305609 #2 2024-11-20 14:49:12 ~5 min macos 📦zip
✔️ 4305609 #2 2024-11-20 14:49:19 ~5 min tests-rpc 📄log
✔️ 4305609 #2 2024-11-20 14:51:56 ~8 min android 📦aar
✔️ 4305609 #2 2024-11-20 15:19:40 ~35 min tests 📄log

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 60.91%. Comparing base (11cf42b) to head (4305609).

Files with missing lines Patch % Lines
services/wallet/service.go 14.28% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #6100       +/-   ##
============================================
+ Coverage    13.54%   60.91%   +47.36%     
============================================
  Files          804      819       +15     
  Lines       107898   109471     +1573     
============================================
+ Hits         14616    66679    +52063     
+ Misses       91398    34961    -56437     
- Partials      1884     7831     +5947     
Flag Coverage Δ
functional 13.52% <6.66%> (-0.03%) ⬇️
unit 60.13% <60.00%> (?)

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

Files with missing lines Coverage Δ
params/config.go 70.83% <100.00%> (+28.52%) ⬆️
services/wallet/service.go 86.19% <14.28%> (-0.77%) ⬇️

... and 644 files with indirect coverage changes

@@ -29,4 +29,7 @@ type FeatureFlags struct {

// EnableCelerBridge indicates whether we should enable the Celer bridge in the Router
EnableCelerBridge bool

// EnableMercuryoProvider indicates whether we should enable the Mercuryo provider in the Wallet
EnableMercuryoProvider bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need both feature flag and config field? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not familiar with the structure, i just did the same thing we had for EnableCelerBridge. should i remove config field?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks to me that we want this to be disabled forever on build-time, so yes. But I'm also not familiar with this code, let's ping @dlipicar, hopefully he can shed some light 🙂

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.

5 participants