1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/ui/pages
Mark Stacey ec7e7fdf6d
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-26 16:13:16 -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-26 11:13:26 -05:00
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 Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
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-26 16:13:16 -02:30
confirm-send-token Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
confirm-signature-request Accept SignController approval request from frontend (#19184) 2023-06-20 15:37:09 +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-26 16:13:16 -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-26 11:13:26 -05:00
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 feat(srp): add a quiz to the SRP reveal (#19283) 2023-06-20 14:27:10 -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 Replacing deprecated components and fixing prop errors (#19745) 2023-06-26 10:29:02 -07: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-26 23:27:56 +05:30
send Fix fallback gas estimation (#19746) 2023-06-26 16:13:16 -02:30
settings UI updates for contacts Page (#19646) 2023-06-26 22:38:42 +05:30
swaps UX Multichain: fixed padding for edit screen (#19707) 2023-06-26 23:27:56 +05:30
token-allowance Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
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