1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/ui/components/app
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
..
account-list-item [MMI] Add code fences in signature-request (#18770) 2023-05-24 13:41:21 +02:00
add-network update icons for add-network (#19513) 2023-06-08 22:56:20 +05:30
advanced-gas-controls Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
advanced-gas-fee-popover Part of #18714: Replacing deprecated constants with enums (#19516) 2023-06-20 15:14:45 -07:00
advanced-gas-inputs Replaced all fa-icon-circle with INFO icon (#17539) 2023-05-09 23:04:58 +05:30
alerts Replaced all fa-icon-circle with INFO icon (#17539) 2023-05-09 23:04:58 +05:30
app-loading-spinner swap hex colors in ui/components/app folder (#14189) 2022-03-25 08:32:36 -07:00
approve-content-card replacing depricated constants (#19448) 2023-06-06 14:21:27 +05:30
asset-list UX: Ensure multichain native token name is always shown (#19705) 2023-06-26 12:54:32 -05:00
beta-header Part of #17670: Replace Typography with Text component in beta-header/index.js (#18964) 2023-05-03 19:20:06 +05:30
cancel-button Adding story for CancelButton (#19566) 2023-06-20 13:44:54 -07:00
cancel-speedup-popover Fixes the cancel-speedup-popover.js (#18948) 2023-05-03 19:32:03 +05:30
confirm-data Changes to confirm-data and confirm-hexdata (#19041) 2023-05-08 08:36:40 -05:00
confirm-gas-display Fix fallback gas estimation (#19746) 2023-06-26 16:13:16 -02:30
confirm-hexdata Changes to confirm-data and confirm-hexdata (#19041) 2023-05-08 08:36:40 -05:00
confirm-page-container Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
confirm-subtitle Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
confirm-title Extracting out title component from confirm-transaction-base (#17991) 2023-03-23 22:21:33 +04:00
confirmation-warning-modal issue-18714: Replaced deprecated constants with enum in confirmation-warning-modal.js (#19477) 2023-06-07 16:19:32 -07:00
connected-accounts-list Fix/18492/update icon ts app folder (#18645) 2023-04-19 14:16:49 -07:00
connected-accounts-permissions Replacing deprecated constants & creating stories (#19686) 2023-06-23 14:38:40 -07:00
connected-sites-list Fix connected site styling (#15409) 2022-08-09 12:29:38 -05:00
connected-status-indicator remove Unused CSS (#19602) 2023-06-19 23:29:52 +05:30
contact-list Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
create-new-vault Create New Vault test improvements (#18259) 2023-04-20 06:36:03 -07:00
currency-input Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
custom-spending-cap Deprecating FormField and fixing console error (#19739) 2023-06-26 09:29:33 -07:00
desktop-enable-button Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
detected-token Part of #17670: Replace Typography with Text component in: detected-token-values.js (#18977) 2023-05-03 08:17:49 -05:00
edit-gas-display Changes to edit-gas-display.component.js (#19037) 2023-05-09 17:52:16 -07:00
edit-gas-fee-button Worked on #17670 & #18714 for 7 files. (#18789) 2023-04-25 08:26:58 -05:00
edit-gas-fee-popover When gas fees suggested by dapp is too high, show warning color and icon (#19088) 2023-06-08 13:26:18 +03:00
edit-gas-popover feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
flask/experimental-area feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
gas-details-item Fix fallback gas estimation (#19746) 2023-06-26 16:13:16 -02:30
gas-timing Fix unknown processing time not showing in warning color (#19527) 2023-06-15 10:52:08 -05:00
hold-to-reveal-button feat(srp): add a quiz to the SRP reveal (#19283) 2023-06-20 14:27:10 -04:00
home-notification Replaced all fa-icon-circle with INFO icon (#17539) 2023-05-09 23:04:58 +05:30
info-box Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
ledger-instruction-field Feat/18444/text align update app folder (#19216) 2023-05-23 12:29:14 -07:00
loading-network-screen feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
metamask-template-renderer Update knobs to control: MetamaskTemplateRenderer (#18677) 2023-04-26 10:13:14 -05:00
metamask-translation devDeps: storybook@7 (#19092) 2023-05-18 11:07:42 +09:00
modal Adding deprecation tags to popover and old modals (#19556) 2023-06-14 09:47:16 -07:00
modals Part of #18714: Replacing deprecated constants with enums (#19516) 2023-06-20 15:14:45 -07:00
multilayer-fee-message creating story for multilayer-fee-message & nft-options (#19567) 2023-06-20 13:43:27 -07:00
multiple-notifications Update media query instances (#15068) 2022-08-04 09:03:02 -05:00
network-account-balance-header Part of #18714: Replacing deprecated constants with enums (#19516) 2023-06-20 15:14:45 -07:00
network-display fix: refactor linea goerli testnet implementation (#19321) 2023-06-15 09:08:07 -02:30
nft-default-image Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
nft-details Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
nft-options creating story for multilayer-fee-message & nft-options (#19567) 2023-06-20 13:43:27 -07:00
nfts-detection-notice Fix lint error (#19157) 2023-05-15 18:37:20 -02:30
nfts-items Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
nfts-tab Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
permission-cell [FLASK] Update UI (for audit) (UI facelift) (#19388) 2023-06-06 12:15:20 +02:00
permission-page-container [FLASK] Improve snaps connect flow (#19461) 2023-06-09 10:36:38 -04:00
permissions-connect-footer Consolidating Zendesk URLs in to constants file (#15669) 2022-08-23 09:19:31 -05:00
permissions-connect-header [FLASK] Rework Snaps headers and footers (#19442) 2023-06-07 15:18:49 +02:00
permissions-connect-permission-list [FLASK] Revert changes made to stable permission display (UI design) (#18470) 2023-04-14 12:04:23 +02:00
qr-hardware-popover Accept SignController approval request from frontend (#19184) 2023-06-20 15:37:09 +02:00
recovery-phrase-reminder Part of #17670: Replace Typography with Text component for 11 files. (#18837) 2023-04-28 16:18:46 -07:00
security-provider-banner-message Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
selected-account removed mmi fencing from copy icon in header (#19087) 2023-05-10 15:41:03 +02:00
set-approval-for-all-warning Part of #18714 and #17670:set-approval-for-all-warnings (#19115) 2023-05-15 15:40:00 -07:00
signature-request Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
signature-request-header Using NetworkAccountBalanceHeader component on SIWE screen (#19361) 2023-06-06 09:53:28 -04:00
signature-request-original Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
signature-request-siwe Security Provider cleanup (#19694) 2023-06-23 20:08:22 +02:00
snaps [FLASK] Improve snaps connect flow (#19461) 2023-06-09 10:36:38 -04:00
srp-input Part of #18714 Replace deprecated design system typography consts with enums in: 'srp-input' (#19040) 2023-05-15 09:52:02 -07:00
srp-quiz-modal feat(srp): add a quiz to the SRP reveal (#19283) 2023-06-20 14:27:10 -04:00
step-progress-bar Overall CSS #13441 (#13902) 2022-05-16 13:38:04 -05:00
tab-bar UX Multichain: updated ui for settings page (#19167) 2023-05-23 23:59:00 +05:30
terms-of-use-popup Fix popover hiding (#18843) 2023-05-03 13:32:29 -05:00
token-cell updated components with Multichain Prefix (#19593) 2023-06-14 21:21:19 +05:30
token-list Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
token-list-display Feat/hide 0 balances (#13306) 2022-02-02 12:32:16 +01:00
transaction-activity-log Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
transaction-alerts Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
transaction-breakdown Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
transaction-decoding Replaced all fa-icon-circle with INFO icon (#17539) 2023-05-09 23:04:58 +05:30
transaction-detail Replaced all fa-icon-circle with INFO icon (#17539) 2023-05-09 23:04:58 +05:30
transaction-detail-item Fix fallback gas estimation (#19746) 2023-06-26 16:13:16 -02:30
transaction-icon Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
transaction-list [MMI] Added code fencing in transaction list (#18071) 2023-05-24 13:40:58 +02:00
transaction-list-item Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
transaction-list-item-details Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
transaction-status-label [MMI] Add the custody status text in the transaction status (#18797) 2023-04-28 09:11:16 -02:30
user-preferenced-currency-display Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
user-preferenced-currency-input Continue converting tests from enzyme to @testing-library/react (#16175) 2022-10-20 11:20:49 -07:00
user-preferenced-token-input Continue converting tests from enzyme to @testing-library/react (#16175) 2022-10-20 11:20:49 -07:00
wallet-overview Fix #847 - Don't show account address on token pages (#19740) 2023-06-26 11:13:26 -05:00
whats-new-popup Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
app-components.scss remove Unused CSS (#19602) 2023-06-19 23:29:52 +05:30
menu-droppo.js Convert unit test render from enzyme to @testing-library/react. (#15091) 2022-08-03 13:30:43 -07:00