1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/ui/pages
Mark Stacey 28093b0c59 Fix fallback gas estimation (#19746)
* Fix fallback gas estimation

Our fallback gas estimation was failing due to a bug in the
`@metamask/controller-utils` package. This was causing gas estimation
to fail completely on certain networks (those not supported by our gas
estimation APIs and non EIP-1559 compatibile), and it was causing the
fallback gas estimation operation (in case our API was down) to fail
across all networks.

Fixes https://github.com/MetaMask/metamask-extension/issues/19735

* Add e2e tests

E2E tests have been added to capture gas estimation. Cases are added
for our API, for the fallback estimate, and for non-EIP-1559 estimates.

As part of this work, the legacy gas API had to be disabled. This was
being used in e2e tests but was dead code in production. It needed to
be disabled to ensure the code under test was reachable.

* Fix gas API referenced in e2e test

* Update unit test snapshots
2023-06-27 14:37:54 -02:30
..
add-nft
asset Fix #847 - Don't show account address on token pages (#19740) 2023-06-27 14:33:30 -02:30
confirm-add-suggested-nft Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
confirm-add-suggested-token Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
confirm-approve feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
confirm-contract-interaction
confirm-decrypt-message [MMI] Add code fences in signature-request (#18770) 2023-05-24 13:41:21 +02:00
confirm-deploy-contract
confirm-encryption-public-key [MMI] Add code fences in signature-request (#18770) 2023-05-24 13:41:21 +02:00
confirm-import-token Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
confirm-send-ether Fix fallback gas estimation (#19746) 2023-06-27 14:37:54 -02:30
confirm-send-token
confirm-signature-request deep clone signature tx in order to avoid state mutation bug on development (#19179) 2023-06-01 11:48:07 +02:00
confirm-token-transaction-base feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
confirm-transaction ConfirmTxPage: rm redundant unapprovedTxs const (#19275) 2023-06-01 18:42:19 +02:00
confirm-transaction-base Fix fallback gas estimation (#19746) 2023-06-27 14:37:54 -02:30
confirm-transaction-switch
confirmation [FLASK] Rework Snaps headers and footers (#19442) 2023-06-07 15:18:49 +02:00
connected-accounts
connected-sites
create-account UX: Multichain: Move Add Account and Import Account into Account Menu Popover (#19346) 2023-06-13 10:07:01 -05:00
desktop-error
desktop-pairing
error
home Fix #847 - Don't show account address on token pages (#19740) 2023-06-27 14:33:30 -02:30
import-token devDeps: storybook@7 (#19092) 2023-05-18 11:07:42 +09:00
institutional Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
keychains Add reveal to export private key (#18170) 2023-05-06 17:04:20 -04:00
lock
notifications [FLASK] Fix overflowing notification content (#18881) 2023-05-03 11:27:01 +02:00
onboarding-flow Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
permissions-connect [FLASK] Align update error state with Figma (#19547) 2023-06-09 16:50:51 +02:00
routes UX Multichain: fixed padding for edit screen (#19707) 2023-06-27 14:33:30 -02:30
send Fix fallback gas estimation (#19746) 2023-06-27 14:37:54 -02:30
settings feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
swaps UX Multichain: fixed padding for edit screen (#19707) 2023-06-27 14:33:30 -02:30
token-allowance Part of #17670 & #18714: Replace Typography with Text component: token-allowance.js (#18742) 2023-05-04 22:08:43 +05:30
token-details Part of #17670 & #18714: Replace Typography with Text component in token-details-page.js (#18741) 2023-05-09 17:55:30 -07:00
unlock-page devDeps: storybook@7 (#19092) 2023-05-18 11:07:42 +09:00
index.js
pages.scss Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00