Skip to content

fix: disble Tron simulations for unsupported transactions#39736

Draft
mikesposito wants to merge 1 commit intomainfrom
mikesposito/fix/disable-tron-scan-for-unsupported-tx
Draft

fix: disble Tron simulations for unsupported transactions#39736
mikesposito wants to merge 1 commit intomainfrom
mikesposito/fix/disable-tron-scan-for-unsupported-tx

Conversation

@mikesposito
Copy link
Member

@mikesposito mikesposito commented Feb 3, 2026

Depends on:

Description

This PR brings a fix for Tron simulations that were returning unreliable estimates because of an underlying Blockaid incompatibility with certain Tron transactions. As a temporary mitigation, this PR disables simulations for unsupported Tron transactions.

### Fixed

- Disable simulation for unsupported transactions ([#186](https://github.com/MetaMask/snap-tron-wallet/pull/186))
  - Supported transactions are those single-contract interaction transactions of the following types: `TransferContract`, `TriggerSmartContract`, `TransferAssetContract`.

Open in GitHub Codespaces

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@mikesposito mikesposito marked this pull request as draft February 3, 2026 14:14
@metamaskbot metamaskbot added the team-core-platform Core Platform team label Feb 3, 2026
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​metamask/​tron-wallet-snap@​1.19.2 ⏵ 1.20.0-preview-2895dbc100 +1100100 +5100 +3100

View full report

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 3, 2026

Builds ready [5577776]
UI Startup Metrics (1509 ± 105 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--15091254195310515701687
load--12891054164110313511458
domContentLoaded--12831046162510213441449
domInteractive--3019127212693
firstPaint--172691467145217257
backgroundConnect--25623230814262284
firstReactRender--20124362236
initialActions--109114
loadScripts--1043811135510111031205
setupStore--156182171724
numNetworkReqs--221583171573
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--20701680278219521912396
load--11981052201516811951673
domContentLoaded--11841039200616911851666
domInteractive--37181622638102
firstPaint--1807055397250350
backgroundConnect--33628846837355418
firstReactRender--271764112955
initialActions--106112
loadScripts--93381017291579321366
setupStore--18877112045
numNetworkReqs--1224926453145246
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--83766111481079011051
load--692591105898747895
domContentLoaded--687587104897743891
domInteractive--241579162271
firstPaint--986035847117187
backgroundConnect--3718122224479
firstReactRender--1510121121530
initialActions--105112
loadScripts--684585104697742889
setupStore--1162741122
numNetworkReqs--221588181577
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1238874183321013951666
load--71061911491087041017
domContentLoaded--70161411421086891007
domInteractive--37182553335116
firstPaint--15766955139153520
backgroundConnect--16913341463163366
firstReactRender--23183532430
initialActions--102111
loadScripts--6986121132106687999
setupStore--1151931317
numNetworkReqs--1255026455156250
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16201320202816417341919
load--13601133174712914451584
domContentLoaded--13591127174712914451578
domInteractive--77342504398147
firstPaint--------
backgroundConnect--67291893864161
firstReactRender--12102111214
initialActions--103122
loadScripts--13251109173011614091532
setupStore--164175251363
numNetworkReqs--231288191881
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--30272223474553431774242
load--16111304264231617692268
domContentLoaded--16111303264231617692267
domInteractive--1193652896116356
firstPaint--------
backgroundConnect--3181131097244329910
firstReactRender--20146492026
initialActions--113122
loadScripts--15561282261628016642168
setupStore--1308789197101645
numNetworkReqs--73402034399183
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--17381444266521118642145
load--14911251245516415831717
domContentLoaded--14901251245516415831717
domInteractive--933265077131167
firstPaint--------
backgroundConnect--74273255484201
firstReactRender--16115751621
initialActions--102122
loadScripts--14541226242315215331655
setupStore--184243351253
numNetworkReqs--231285191881
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--30282060774774333434198
load--16831231616458318302554
domContentLoaded--16831231616358318292554
domInteractive--11433641118106522
firstPaint--------
backgroundConnect--3431131341282398948
firstReactRender--21153242429
initialActions--206123
loadScripts--16101213613656417062470
setupStore--1716893233208725
numNetworkReqs--70381884382184
19--------
📊 Page Load Benchmark Results

Current Commit: 5577776 | Date: 2/3/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±73ms) 🟡 | historical mean value: 1.02s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 752ms (±70ms) 🟢 | historical mean value: 713ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±12ms) 🟢 | historical mean value: 79ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 73ms 1.03s 1.36s 1.30s 1.36s
domContentLoaded 752ms 70ms 714ms 1.03s 966ms 1.03s
firstPaint 79ms 12ms 64ms 184ms 88ms 184ms
firstContentfulPaint 79ms 12ms 64ms 184ms 88ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 114 Bytes (0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants