1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 20:05:27 +02:00
metamask-extension/ui/components/app/edit-gas-fee-popover/network-statistics
Elliot Winkler 7b963cabd7
Alert users when the network is busy (#12268)
When a lot of transactions are occurring on the network, such as during
an NFT drop, it drives gas fees up. When this happens, we want to not
only inform the user about this, but also dissuade them from using a
higher gas fee (as we have proved in testing that high gas fees can
cause bidding wars and exacerbate the situation).

The method for determining whether the network is "busy" is already
handled by GasFeeController, which exposes a `networkCongestion`
property within the gas fee estimate data. If this number exceeds 0.66 —
meaning that the current base fee is above the 66th percentile among the
base fees over the last several days — then we determine that the
network is "busy".
2022-01-07 12:18:02 -07:00
..
latest-priority-fee-field EIP-1559 V2 UI fixes (#13222) 2022-01-07 04:10:31 +05:30
status-slider Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
index.js Adding tooltips in edit gas fee network status section (#12916) 2021-12-06 21:32:23 +05:30
index.scss EIP-1559 V2 UI fixes (#13222) 2022-01-07 04:10:31 +05:30
network-statistics.js EIP-1559 V2 UI fixes (#13222) 2022-01-07 04:10:31 +05:30
network-statistics.test.js EIP-1559 V2 UI fixes (#13222) 2022-01-07 04:10:31 +05:30
tooltips.js Wire up network stability slider in new gas modal (#13029) 2021-12-09 14:34:38 -07:00