1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
Mark Stacey 4d76f5b7ca
Promisify gas estimation (#8387)
The `estimateGasMethod` function passed to `estimateGas` is now an
async function. It is now invoked using `async/await` rather than a
Promise constructor.

This was done as part of a broader effort to use Promises rather than
callbacks when interacting with the background.
2020-04-23 15:01:38 -03:00
..
components Remove unused network nonce state (#8395) 2020-04-23 13:23:22 -03:00
contexts Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
css Rewrite checkbox component (#8305) 2020-04-09 18:51:12 -03:00
ducks Remove unused network nonce state (#8395) 2020-04-23 13:23:22 -03:00
helpers Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
pages Promisify gas estimation (#8387) 2020-04-23 15:01:38 -03:00
selectors Close notification UI if no unapproved confirmations (#8358) 2020-04-20 10:21:57 -07:00
store Promisify gas estimation (#8387) 2020-04-23 15:01:38 -03:00