-
Notifications
You must be signed in to change notification settings - Fork 87
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: new wallets only created with english mnemonics #5064
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5064 +/- ##
=======================================
Coverage 85.55% 85.56%
=======================================
Files 723 723
Lines 29448 29439 -9
Branches 5078 5074 -4
=======================================
- Hits 25195 25189 -6
+ Misses 4020 4017 -3
Partials 233 233
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
src/web3/saga.ts
Outdated
let mnemonic: string = yield* call( | ||
generateMnemonic, | ||
mnemonicBitLength, | ||
MnemonicLanguages.english, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this just be set to mnemonicLanguage
? since it is set as english in the lines above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in b9d9e56!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like knip check is failing because getMnemonicLanguage
is no longer used anywhere so should be removed. Other than that looks good!
1 build increased size
Celo (test) 1.80.0 (145)
|
Item | Install Size Change |
---|---|
📝 splashBackground@3x.jpg | ⬆️ 600.2 kB |
📝 background@3x.jpg | ⬆️ 368.6 kB |
📝 boost-rewards@3x.png | ⬆️ 188.4 kB |
📝 background@2x.jpg | ⬆️ 176.1 kB |
📝 boost-rewards@2x.png | ⬆️ 90.1 kB |
🛸 Powered by Emerge Tools
### Description Wallets created when the users language was set to Spanish or Portuguese had mnemonics that were in Spanish or Portuguese. This causes interoperability issues for Valora users who wish to try other wallets: [Slack Thread](https://valora-app.slack.com/archives/C02KBT0DAHJ/p1709917662991769). ### Test plan - Tested locally on iOS - Unit tests updated ### Related issues N/A ### Backwards compatibility Yes - Users with Spanish and Portuguese mnemonics are still able to restore into Valora. ### Network scalability N/A
Description
Wallets created when the users language was set to Spanish or Portuguese had mnemonics that were in Spanish or Portuguese. This causes interoperability issues for Valora users who wish to try other wallets: Slack Thread.
Test plan
Related issues
N/A
Backwards compatibility
Yes - Users with Spanish and Portuguese mnemonics are still able to restore into Valora.
Network scalability
N/A