Repository navigation
Commit d7335cd
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7609 | 7609 | | |
7610 | 7610 | | |
7611 | 7611 | | |
7612 | | - | |
7613 | | - | |
7614 | | - | |
7615 | | - | |
| 7612 | + | |
| 7613 | + | |
| 7614 | + | |
| 7615 | + | |
7616 | 7616 | | |
7617 | 7617 | | |
7618 | 7618 | | |
| |||
10938 | 10938 | | |
10939 | 10939 | | |
10940 | 10940 | | |
10941 | | - | |
10942 | | - | |
10943 | | - | |
10944 | | - | |
| 10941 | + | |
| 10942 | + | |
| 10943 | + | |
| 10944 | + | |
10945 | 10945 | | |
10946 | 10946 | | |
10947 | 10947 | | |
| |||
35509 | 35509 | | |
35510 | 35510 | | |
35511 | 35511 | | |
35512 | | - | |
| 35512 | + | |
35513 | 35513 | | |
35514 | 35514 | | |
35515 | 35515 | | |
| |||
35657 | 35657 | | |
35658 | 35658 | | |
35659 | 35659 | | |
35660 | | - | |
| 35660 | + | |
35661 | 35661 | | |
35662 | 35662 | | |
35663 | 35663 | | |
| |||
0 commit comments