1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/send
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
..
gas-display Transaction cleanup and fix TransactionDetailItem key not unique bug (#18899) 2023-05-02 00:42:59 -03:00
send-content Fix fallback gas estimation (#19746) 2023-06-27 14:37:54 -02:30
send-footer Overriding gas estimate in the send page even if enough ETH is not available (#18554) 2023-04-18 11:10:32 -04:00
send-header Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
index.js Refactor send page state management (#10965) 2021-06-23 16:35:25 -05:00
send.constants.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
send.js Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
send.scss Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
send.test.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
send.utils.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
send.utils.test.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00