chore: bump @metamask/tron-wallet-snap to 1.25.6#42701
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. |
Builds ready [6fd1ea5]
⚡ Performance Benchmarks (Total: 🟢 14 pass · 🟡 10 warn · 🔴 0 fail)
Bundle size diffs
|
Builds ready [bb0f4cc]
⚡ Performance Benchmarks (Total: 🟢 11 pass · 🟡 13 warn · 🔴 0 fail)
Bundle size diffs
|
Builds ready [20d9e07]
⚡ Performance Benchmarks (Total: 🟢 12 pass · 🟡 12 warn · 🔴 0 fail)
Bundle size diffs
|
@metamask/tron-wallet-snap to 1.25.3-preview-995ddc5@metamask/tron-wallet-snap to 1.25.4-preview-20f5407
Builds ready [2ab88fc]
⚡ Performance Benchmarks (Total: 🟢 11 pass · 🟡 13 warn · 🔴 0 fail)
Bundle size diffs
|
Builds ready [3045219]
⚡ Performance Benchmarks (Total: 🟢 20 pass · 🟡 5 warn · 🔴 0 fail)
Bundle size diffs
|
Builds ready [b015f2c]
⚡ Performance Benchmarks (Total: 🟢 22 pass · 🟡 3 warn · 🔴 0 fail)
Bundle size diffs
|
|
Builds ready [7d41aa8]
⚡ Performance Benchmarks (Total: 🟢 22 pass · 🟡 3 warn · 🔴 0 fail)
Bundle size diffs
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c0ef564. Configure here.
Builds ready [a92c9de]
⚡ Performance Benchmarks (Total: 🟢 22 pass · 🟡 2 warn · 🔴 0 fail)
Bundle size diffs [🚀 Bundle size reduced!]
|




Description
This PR bumps @metamask/tron-wallet-snap from
^1.25.3to^1.25.6.The main purpose of this update is to pull in the latest Tron snap validation fixes, in particular a mechanism to refresh stale or invalid
expiration,ref_block_bytesandref_block_hashbefore signing in both send/broadcast paths.Preview package:
@metamask-previews/tron-wallet-snap@1.25.3-preview-995ddc5Release:
@metamask-previews/tron-wallet-snap@^1.25.6Upstream PR:
Updated following
e2etest files to adapt new logic for refresh transaction expirationtest/e2e/flask/tron-connect/mocks/trongrid.tstest/e2e/flask/tron-connect/common-tron.tstest/e2e/tests/tron/mocks/common-tron.tstest/e2e/flask/tron-connect/signAndSendTrx.spec.tstest/e2e/flask/tron-connect/signAndSendUsdt.spec.tsChangelog
CHANGELOG entry: bump the
@metamask/tron-wallet-snapto^1.25.6Related issues
n/a
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Ships a snap version that changes pre-sign transaction validation/refresh on Tron send paths; risk is mitigated by e2e mock updates but still affects real signing behavior.
Overview
Bumps
@metamask/tron-wallet-snapfrom^1.25.3to^1.25.6(and lockfile) so the extension picks up upstream fixes that refresh stale Tron transaction fields (expiration,ref_block_bytes,ref_block_hash) before sign/broadcast.E2E mocks are expanded so tests match that behavior: shared block payloads, new handlers for
getnowblock,getblockbynum, and Infuragetnowblock; broadcast mocks now return success instead of expiration errors; swap/bridge fixture data uses future-dated expirations and aligned ref-block values for stable CI.Reviewed by Cursor Bugbot for commit a92c9de. Bugbot is set up for automated code reviews on this repo. Configure here.