Skip to content

Commit d7335cd

Browse files
authored
chore: bump bitcoin-wallet-snap@3.3.0 and tron-wallet-snap@4.3.1 (#47621)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** # Bitcoin [3.3.0] ### Changed - Retry transient Bitcoin indexer, price API, and signed transaction broadcast failures with the shared fetch policy, and treat duplicate broadcasts as successful. ([#530](MetaMask/internal-snaps#530)) ### Fixed - Fix formatting of small Bitcoin balances to avoid scientific notation. ([#543](MetaMask/internal-snaps#543)) # Tron [4.3.1] ### Fixed - Allow transaction confirmation after remote simulation failures while retaining security warnings and checks for locally invalid transactions. ([#552](MetaMask/internal-snaps#552)) <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> ## **Changelog** <!-- If this PR is not End-User-Facing and should not show up in the CHANGELOG, you can choose to either: 1. Write `CHANGELOG entry: null` 2. Label with `no-changelog` If this PR is End-User-Facing, please write a short User-Facing description in the past tense like: `CHANGELOG entry: Added a new tab for users to see their NFTs` `CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker` (This helps the Release Engineer do their job more quickly and accurately) --> CHANGELOG entry: null ## **Related issues** n/a ## **Manual testing steps** n/a ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [X] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Patch bumps change Bitcoin broadcast/retry behavior and Tron confirmation when remote simulation fails, both on transaction-critical paths. > > **Overview** > Bumps **`@metamask/bitcoin-wallet-snap`** to **3.3.0** and **`@metamask/tron-wallet-snap`** to **4.3.1** in `package.json`, with matching **`yarn.lock`** resolutions. No extension source changes—behavior comes from the new snap builds. > > With **Bitcoin 3.3.0**, users get more resilient indexer/price/broadcast calls (shared fetch retries, duplicate broadcasts treated as success) and corrected display of very small balances (no scientific notation). > > With **Tron 4.3.1**, confirmation can proceed when **remote** simulation fails, while locally invalid transactions still block approval and security warnings remain. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 4bd1b01. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent d23a340 commit d7335cd

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
"@metamask/authenticated-user-storage": "^4.0.0",
422422
"@metamask/base-controller": "^10.0.0",
423423
"@metamask/base-data-service": "^2.1.0",
424-
"@metamask/bitcoin-wallet-snap": "^3.2.0",
424+
"@metamask/bitcoin-wallet-snap": "^3.3.0",
425425
"@metamask/bitcoin-wallet-standard": "^1.1.0",
426426
"@metamask/bridge-controller": "^83.1.2",
427427
"@metamask/bridge-status-controller": "^77.0.0",
@@ -539,7 +539,7 @@
539539
"@metamask/transaction-controller": "^72.3.0",
540540
"@metamask/transaction-pay-controller": "^30.3.1",
541541
"@metamask/transaction-pay-middleware": "^2.0.0",
542-
"@metamask/tron-wallet-snap": "^4.3.0",
542+
"@metamask/tron-wallet-snap": "^4.3.1",
543543
"@metamask/user-operation-controller": "^41.2.5",
544544
"@metamask/utils": "^12.0.0",
545545
"@metamask/wallet": "^20.0.0",

‎yarn.lock‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7609,10 +7609,10 @@ __metadata:
76097609
languageName: node
76107610
linkType: hard
76117611

7612-
"@metamask/bitcoin-wallet-snap@npm:^3.2.0":
7613-
version: 3.2.0
7614-
resolution: "@metamask/bitcoin-wallet-snap@npm:3.2.0"
7615-
checksum: 10/3a43cf6865b6e813a51511944b5b871eab3d266308abe64daa8accf2a17b250907f58fd04b7df9ea444ec5d7e80d63c4bdbbdfe2cca1c7aefd43e173c273f872
7612+
"@metamask/bitcoin-wallet-snap@npm:^3.3.0":
7613+
version: 3.3.0
7614+
resolution: "@metamask/bitcoin-wallet-snap@npm:3.3.0"
7615+
checksum: 10/cab9f63967477e0f36792adeb4963f1b4271f078a93231f3df7a379712078516f824b13d7b2cfb06b9ad0215b90256d3b1299b34ca61869f556455859508de5d
76167616
languageName: node
76177617
linkType: hard
76187618

@@ -10938,10 +10938,10 @@ __metadata:
1093810938
languageName: node
1093910939
linkType: hard
1094010940

10941-
"@metamask/tron-wallet-snap@npm:^4.3.0":
10942-
version: 4.3.0
10943-
resolution: "@metamask/tron-wallet-snap@npm:4.3.0"
10944-
checksum: 10/e2c332fe66bdbd7e02d34c375ac335d7d2a847184700e9fbb673b1b1fd325222196d95a215b4f6360fdb423c8d626394a393442fb4b86c90baa8ec61b74f1c84
10941+
"@metamask/tron-wallet-snap@npm:^4.3.1":
10942+
version: 4.3.1
10943+
resolution: "@metamask/tron-wallet-snap@npm:4.3.1"
10944+
checksum: 10/b2612a384a1767b4a528379d7003d00c1d1526d1c0bcb813fc6e0b5e473b409048bfd6ca767f73673bab2deb5bfd4abf9ea341decac2f23dd12858eea852b6da
1094510945
languageName: node
1094610946
linkType: hard
1094710947

@@ -35509,7 +35509,7 @@ __metadata:
3550935509
"@metamask/base-controller": "npm:^10.0.0"
3551035510
"@metamask/base-data-service": "npm:^2.1.0"
3551135511
"@metamask/bitcoin-regtest-up": "npm:^1.0.0"
35512-
"@metamask/bitcoin-wallet-snap": "npm:^3.2.0"
35512+
"@metamask/bitcoin-wallet-snap": "npm:^3.3.0"
3551335513
"@metamask/bitcoin-wallet-standard": "npm:^1.1.0"
3551435514
"@metamask/bridge-controller": "npm:^83.1.2"
3551535515
"@metamask/bridge-status-controller": "npm:^77.0.0"
@@ -35657,7 +35657,7 @@ __metadata:
3565735657
"@metamask/transaction-controller": "npm:^72.3.0"
3565835658
"@metamask/transaction-pay-controller": "npm:^30.3.1"
3565935659
"@metamask/transaction-pay-middleware": "npm:^2.0.0"
35660-
"@metamask/tron-wallet-snap": "npm:^4.3.0"
35660+
"@metamask/tron-wallet-snap": "npm:^4.3.1"
3566135661
"@metamask/user-operation-controller": "npm:^41.2.5"
3566235662
"@metamask/utils": "npm:^12.0.0"
3566335663
"@metamask/wallet": "npm:^20.0.0"

0 commit comments

Comments
 (0)