metamask-extension
metamask-extension copied to clipboard
feat: Gas Fees Redesign PoC
Description
Implements a new Gas Fees component to be used on the redesign transactions.
This component leverages the existing modals for Type 0 and Type 2 transactions.
This PR also includes e2e test setup for Legacy, EIP1559 and L2 fee breakdown txs.
Related issues
Fixes: #24047
Manual testing steps
- Go to this page...
Screenshots/Recordings
After
Type 0 Transaction
Type 2 Transaction
Type 2 Transaction on a L2 that provides L1 fees breakdown
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.