1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers
Brad Decker e0953d9f68
Update send and confirm state management, and tx controller gas defaults, for EIP1559 (#11549)
wip

Documentation improvements for send slice support of EIP1559

Remove console.log in send duck

Property lookup safety improvement in selectors/confirm-transaction

Add code accidentally removed in rebase

Update addTxGasDefaults and _getDefaultGasFees to work with new estimate types, and ensure we correctly handle gas price estimates when on EIP1559 networks (#11615)

* Fix typo

Remove console.log in send duck

* Update addTxGasDefaults and _getDefaultGasFees to work correctly with all new gas fee estimate types

* Don't show gas timing support when not on eip1559 compatible network

* Hide gas timing component on transaction screen when on a non-1559 network

* Improve comments, tests and edge case handling

* Ensure eip1559 fees are applied and updated correctly when eip1559 estimate api fails

* Lint fix

Co-authored-by: Brad Decker <git@braddecker.dev>

Remove console.log

Handle possible gasEstimateType undefined

Remove unnecessary nonce field position change in confirm-page-container-content__details
2021-07-30 22:15:18 -02:30
..
ens use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
network Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions (#11685) 2021-07-30 18:10:19 -02:30
permissions Fix _getPermittedAccounts type safety (#10819) 2021-04-05 11:32:46 -07:00
transactions Update send and confirm state management, and tx controller gas defaults, for EIP1559 (#11549) 2021-07-30 22:15:18 -02:30
alert.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app-state.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00
cached-balances.js cache balances by chain id (#10545) 2021-03-02 16:53:07 -06:00
cached-balances.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
detect-tokens.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00
detect-tokens.test.js add method to detect EIP 1559 support (#11369) 2021-06-25 11:24:00 -05:00
incoming-transactions.js add maxPriorityFeePerGas and maxFeePerGas to incoming controller (#11367) 2021-06-24 14:52:14 -05:00
incoming-transactions.test.js add maxPriorityFeePerGas and maxFeePerGas to incoming controller (#11367) 2021-06-24 14:52:14 -05:00
metametrics.js Removing obsolete client-side transaction metrics events (#11329) 2021-06-24 15:37:44 -07:00
metametrics.test.js Removing obsolete client-side transaction metrics events (#11329) 2021-06-24 15:37:44 -07:00
onboarding.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
preferences.js Adding TokenListController to Metamask-Controller (#11515) 2021-07-15 19:08:16 -04:00
preferences.test.js Adding TokenListController to Metamask-Controller (#11515) 2021-07-15 19:08:16 -04:00
swaps.js EIP-1559 and Rinkeby Testnet support in Swaps (#11635) 2021-07-30 13:35:30 +02:00
swaps.test.js EIP-1559 and Rinkeby Testnet support in Swaps (#11635) 2021-07-30 13:35:30 +02:00
threebox.js Add some metrics events to the 3box controller (#11447) 2021-07-02 17:00:40 -02:30
token-rates-controller.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
token-rates.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00