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 UX: Multichain: Analytics (#18674) 2023-04-27 09:28:08 -05:00
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 Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
confirm-decrypt-message [MMI] Add code fences in signature-request (#18770) 2023-05-24 13:41:21 +02:00
confirm-deploy-contract Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
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 Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
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 Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
confirmation [FLASK] Rework Snaps headers and footers (#19442) 2023-06-07 15:18:49 +02:00
connected-accounts Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
connected-sites Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
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 feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
desktop-pairing Update snapshot 2023-03-28 10:36:53 +02:00
error Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
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 Various test files converting to @testing-library/react. (#15470) 2022-08-08 13:28:49 -07:00
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 Renamed metametrics.new.js to metametrics.js (#14327) 2022-04-01 14:11:12 -05:00
pages.scss Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00