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

fix: duplicate fee display for l2 networks #24264

Merged
merged 4 commits into from May 1, 2024
Merged

Conversation

jpuri
Copy link
Contributor

@jpuri jpuri commented Apr 26, 2024

Description

Fix duplicate display of l1, l2 fees for l2 networks.

Related issues

Fixes: #23291

Manual testing steps

  1. Switch to optimism
  2. Submit legacy transaction in test dapp
  3. Check transaction screen

Screenshots/Recordings

Screenshot 2024-04-26 at 9 39 22 PM

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). 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.

@jpuri jpuri requested review from a team as code owners April 26, 2024 16:46
Copy link
Contributor

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.

@jpuri jpuri added team-confirmations-secure-ux-PR PRs from the confirmations team needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Apr 26, 2024
@sleepytanya
Copy link
Contributor

@jpuri Looks perfect!
With Simulations toggle ON:

Screenshot 2024-04-26 at 19 49 56

With Simulations toggle OFF:

Screenshot 2024-04-26 at 19 59 00

@CodyD42010
Copy link

Uploading Screenshot_2024-04-07-01-12-43.png…

@seaona
Copy link
Contributor

seaona commented Apr 29, 2024

🟢 Looks good from my side too @jpuri gas L1/L2 section is not duplicated anymore and only appears in the Details section

@jpuri jpuri merged commit 9c83db2 into develop May 1, 2024
66 of 68 checks passed
@jpuri jpuri deleted the l2_layer_display_fix branch May 1, 2024 08:16
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label May 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
@metamaskbot metamaskbot added the release-11.17.0 Issue or pull request that will be included in release 11.17.0 label May 1, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [db06164]
Page Load Metrics (704 ± 542 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint57156772211
domContentLoaded9281142
load4529097041128542
domInteractive8281142
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -902 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.17.0 Issue or pull request that will be included in release 11.17.0 team-confirmations-secure-ux-PR PRs from the confirmations team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: Gas - Duplicated fee section for Legacy transactions in L2
7 participants