Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display ERC20 and ERC721 token details returns by decoding api #28366

Merged
merged 23 commits into from
Nov 20, 2024

Conversation

jpuri
Copy link
Contributor

@jpuri jpuri commented Nov 7, 2024

Description

Add estimated changes display for ERC20 token and NFTs.

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3614

Manual testing steps

  1. Enable signature decoding api
  2. On test dapp submit permit request
  3. Check simulation section

Screenshots/Recordings

Screenshot 2024-11-08 at 12 19 40 AM Screenshot 2024-11-08 at 12 18 24 AM Screenshot 2024-11-08 at 12 16 13 AM

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.

@jpuri jpuri requested review from a team as code owners November 7, 2024 18:55
Copy link
Contributor

github-actions bot commented Nov 7, 2024

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.

@metamaskbot metamaskbot added the team-confirmations Push issues to confirmations team label Nov 7, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [c9fed99]
Page Load Metrics (1915 ± 81 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30721361813367176
domContentLoaded16202402188516278
load16302416191516881
domInteractive288048168
backgroundConnect881302512
firstReactRender652851225024
getState5461194
initialActions01000
loadScripts11621765137114067
setupStore688272612
uiStartup18272657217318589
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -103.91 KiB (-2.28%)
  • ui: 7.06 KiB (0.09%)
  • common: 107.1 KiB (1.30%)

Base automatically changed from decoding_ui_changes to develop November 15, 2024 12:14
@mirceanis mirceanis requested a review from a team as a code owner November 15, 2024 12:14
@jpuri jpuri enabled auto-merge November 15, 2024 13:02
@metamaskbot
Copy link
Collaborator

Builds ready [9ffc37f]
Page Load Metrics (2315 ± 116 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint32527312209494237
domContentLoaded190026302278241116
load195227002315242116
domInteractive15110622512
backgroundConnect1170332010
firstReactRender943951466330
getState885382914
initialActions01000
loadScripts13931980169119292
setupStore65713115
uiStartup217235502633359173
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -106.79 KiB (-1.76%)
  • ui: 2.88 KiB (0.04%)
  • common: 107.1 KiB (1.29%)

@metamaskbot
Copy link
Collaborator

Builds ready [c6648ee]
Page Load Metrics (2121 ± 88 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint32025991978572275
domContentLoaded17832484207916077
load17912596212118388
domInteractive2910250199
backgroundConnect8154453919
firstReactRender543001317536
getState512891276632
initialActions00000
loadScripts13201910157113464
setupStore6100202914
uiStartup225334852600367176
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -106.79 KiB (-1.76%)
  • ui: 2.87 KiB (0.04%)
  • common: 107.1 KiB (1.29%)

@metamaskbot
Copy link
Collaborator

Builds ready [ddcde0b]
Page Load Metrics (2062 ± 81 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint40325181992401193
domContentLoaded17972370202814670
load18082566206216881
domInteractive317244116
backgroundConnect7193294120
firstReactRender732971164723
getState48168992713
initialActions01000
loadScripts13231738151312158
setupStore6411184
uiStartup213133262419253121
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -106.79 KiB (-1.76%)
  • ui: 2.87 KiB (0.04%)
  • common: 107.1 KiB (1.29%)

@jpuri jpuri added this pull request to the merge queue Nov 20, 2024
Merged via the queue into develop with commit 1b3f304 Nov 20, 2024
75 checks passed
@jpuri jpuri deleted the decoded_token_display branch November 20, 2024 09:49
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2024
@metamaskbot metamaskbot added the release-12.9.0 Issue or pull request that will be included in release 12.9.0 label Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.9.0 Issue or pull request that will be included in release 12.9.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants