feat: Bitcoin alignment: networks#17232
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
ccharly
left a comment
There was a problem hiding this comment.
Code LGTM for accounts owned files (haven't tested though):
app/core/SnapKeyring/MultichainWalletSnapClient.test.ts
app/core/SnapKeyring/MultichainWalletSnapClient.ts
app/core/SnapKeyring/utils/getMultichainAccountName.test.ts
app/core/SnapKeyring/utils/getMultichainAccountName.ts
Could you also update the "Manual steps" section, so other would know how to test that during RC validation, thanks! 😄
da022d2
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17232 +/- ##
==========================================
- Coverage 73.75% 73.75% -0.01%
==========================================
Files 2846 2846
Lines 63622 63629 +7
Branches 10390 10393 +3
==========================================
+ Hits 46926 46929 +3
- Misses 13668 13672 +4
Partials 3028 3028 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Bug: Chain ID Mismatch Causes Transaction URL Errors
The ActivityView component passes an incorrect chainId to MultichainTransactionsView when a non-EVM account is selected. The currentChainId is obtained using selectChainId, which returns an EVM chain ID (e.g., "0x1"). However, MultichainTransactionsView expects a CAIP chain ID format (e.g., "eip155:1") for non-EVM transactions. This mismatch results in incorrect block explorer URLs for transactions on non-EVM networks (e.g., Bitcoin, Solana) and can lead to parsing errors.
app/components/Views/ActivityView/index.js#L108-L218
metamask-mobile/app/components/Views/ActivityView/index.js
Lines 108 to 218 in 16a7004
Was this report helpful? Give feedback by reacting with 👍 or 👎
|



Description
Align Bitcoin features with extension: Add networks and account types.
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/NWNT-404
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist