1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
Commit Graph

12689 Commits

Author SHA1 Message Date
Dan J Miller
d56bf1dedc Use current block gas limit as the limit passed eth_estimateGas (#11658) 2021-07-28 13:13:56 -05:00
ryanml
aeae70ffd4
Revert "Use current block gas limit as the limit passed eth_estimateGas (#11658)" (#11660)
This reverts commit aee79fd44d.
2021-07-28 13:13:23 -05:00
Dan J Miller
aee79fd44d
Use current block gas limit as the limit passed eth_estimateGas (#11658) 2021-07-28 12:43:08 -05:00
Dan J Miller
aaa15cbe03
Add support for EIP1559 transactions to transaction breakdown (#11622)
* Add support for EIP1559 transactions to transaction breakdown

* Use userPreferencedCurrencyDisplay for effective gas price in transaction breakdown

* Hide eip1559 gas properties in transaction breakdown on non-1559 networks

* Add comment explaining gasPrice and effectiveGasPrice usage in transaction breakdown container.
2021-07-28 15:00:34 -02:30
ryanml
52bac60a22
Fixing confirmation layout when dapp has suggested a price (EIP-1559) (#11634) 2021-07-28 11:29:55 -05:00
kumavis
984b78730f
CI - enforce dep usage with depcheck (#11518)
* deps - validate with depcheck

* ci - add depcheck + fixes for missing/extra deps

* ci - run depcheck after deps prep install

* deps - add yarn-deduplicate development tool

* Update .circleci/config.yml

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update .circleci/config.yml

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Removing @lavamoat/preinstall-always-fail

* [depcheck] removing unused dependencies

* Update .depcheckrc.yml

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
2021-07-27 20:03:03 -07:00
Dan J Miller
7c86727c16
Make EIP1559 compatibility in tx controller also require account type support (#11616) 2021-07-27 20:43:48 -02:30
Dan J Miller
9a81b826c5
Only show dapp suggested gas fee warning if user has not edited the fee (#11621) 2021-07-27 20:01:53 -02:30
David Walsh
604524f94d
EIP-1559 - Restore custom values in Edit Gas Popover (#11589)
* EIP-1559 - Restore custom values in Edit Gas Popover

* Provide method to tell which radio button the user may have selected

* Use lodash's findKey

* Add case for legacy gas

* Use gas instead of gasLimit

* Remove unnecessary deletion and todo
2021-07-27 17:12:56 +02:00
ryanml
813eef6080
Trimming whitespace in ENSInput (#11631) 2021-07-27 07:53:13 -07:00
Daniel
709369dc14
Fix default tooltip color (#11633) 2021-07-27 15:20:01 +02:00
Dan J Miller
f4d294714a
Ensure origin shows in gas popover dapp suggested gas fee warning (#11618) 2021-07-26 21:13:05 -02:30
sethkfman
d64d9050b8
bumped contract-metadata to v1.28.0 (#11625) 2021-07-26 12:03:21 -07:00
ryanml
38ce8a3d48
Merge pull request #11627 from MetaMask/master-sync
Sync `master` with `develop`
2021-07-26 11:13:25 -07:00
ryanml
c325996296 Merge remote-tracking branch 'origin/develop' into master-sync 2021-07-26 10:54:32 -07:00
ryanml
447cb03621
Merge pull request #11600 from MetaMask/Version-v9.8.3
Version v9.8.3 RC
2021-07-26 10:53:52 -07:00
ryanml
0cbc06a793 Fixing PR links in 9.8.1 and 9.8.2 (Changelog) (#11617) 2021-07-26 10:35:31 -07:00
ryanml
ca0e1aa43d
Fixing PR links in 9.8.1 and 9.8.2 (Changelog) (#11617) 2021-07-26 10:34:46 -07:00
David Walsh
fab9cfde03
EIP-1559 - Provide data wiring for Gas Timing component (#11462) 2021-07-26 10:35:51 -05:00
David Walsh
a2be02dfeb
EIP-1559 - Show gas estimate updating animation in transaction detail (#11566) 2021-07-26 10:24:44 -05:00
David Walsh
6986e76adc
EIP-1559 - Show advanced form controls by default when user has selected custom values or there are gas warnings/errors (#11590) 2021-07-26 09:17:23 -05:00
David Walsh
71ade71c2b
EIP-1559 - Prevent isEIP1559Transaction throwing undefined error (#11607) 2021-07-26 09:16:57 -05:00
ryanml
d092e4bdbe
Fixing type issue with auto-filled custom token decimals value (#11604) 2021-07-26 07:08:10 -07:00
ryanml
d03dc311ee
Adding hex address guard to input validation for token sends (#11608) 2021-07-26 07:07:57 -07:00
Dan J Miller
c72f1c5ae9 Ensure that the send flow state recipient nickname gets set if recipient address is in addressBook (#11610) 2021-07-26 07:06:45 -07:00
Dan J Miller
02318df48c
Ensure that the send flow state recipient nickname gets set if recipient address is in addressBook (#11610) 2021-07-26 07:03:05 -07:00
Daniel
868d932165
Check for the "fromToken" existance before checking decimals (#11606) 2021-07-26 10:15:13 +02:00
David Walsh
5d92836c8c
EIP-1559 - Provide the nonce field in the new transaction display (#11598) 2021-07-25 09:56:24 -05:00
ryanml
5fe6830ffd
[skip e2e] Update changelog for v9.8.3 (#11601) 2021-07-24 15:50:50 -07:00
David Walsh
cd4521fb12
EIP-1559 - Allow wrapping for dapp suggested origin (#11602) 2021-07-24 15:40:51 -05:00
MetaMask Bot
75c7d284c5 Version v9.8.3 2021-07-24 00:44:37 +00:00
Dan J Miller
972b122d47 Fix sending maximum of an ERC20 token (#11594)
* Fix sending maximum of an ERC20 token

* Always update gas limit when send amount updates
2021-07-23 17:42:10 -07:00
Dan J Miller
2ac7b27876
Fix sending maximum of an ERC20 token (#11594)
* Fix sending maximum of an ERC20 token

* Always update gas limit when send amount updates
2021-07-23 17:40:40 -07:00
David Walsh
4e87069af3
EIP-1559 - Prevent Max Fee and Max Amount from wrapping on confirmation screen (#11591) 2021-07-23 08:39:10 -05:00
ryanml
8cb1557f1c
Adding method to capture one-time Sentry exceptions (#11553) 2021-07-22 16:13:40 -07:00
ryanml
a96af9e5fc
No longer deconstructing account menu ref if it isn't rendered (#11585) 2021-07-22 11:42:44 -07:00
ryanml
68c852f7c9
Validating seed phrase in restoration flow (#11586) 2021-07-22 10:34:53 -07:00
Daniel
a17c4462b4
Add token decimals validation in Swaps (#11587)
* Add token decimals validation in Swaps
* Use camelCase
2021-07-22 19:29:31 +02:00
David Walsh
c1d96676b5
EIP-1559 - Implement new verbiage for transaction detail subtext (#11569) 2021-07-22 11:33:34 -05:00
David Walsh
286fd397f8
EIP-1559 - Maintain changed form values and unselect radio buttons when user customizes form value (#11577) 2021-07-22 11:32:59 -05:00
ryanml
b259546db8
Merge pull request #11584 from MetaMask/master-sync
Sync `master` with `develop`
2021-07-22 01:07:29 -07:00
ryanml
77626b90c7 Merge remote-tracking branch 'origin/develop' into master-sync 2021-07-21 20:37:42 -07:00
ryanml
281aea7d3f
Merge pull request #11564 from MetaMask/Version-v9.8.2
Version v9.8.2 RC
2021-07-21 19:43:04 -07:00
Dan J Miller
fb26c48234
Update changelog for Version-v9.8.2 (#11567)
* Update changelog for Version-v9.8.2

* update changelog
2021-07-21 16:46:50 -02:30
Dan J Miller
6a208556b8 Ensure send slice gas loading state is set to false upon gas estimation error (#11581) 2021-07-21 16:01:39 -02:30
Dan J Miller
ac15b3b465
Ensure send slice gas loading state is set to false upon gas estimation error (#11581) 2021-07-21 16:00:00 -02:30
David Walsh
859a82d428
EIP-1559 - Ony show orange confirmation heading when fee is Dapp suggested (#11570) 2021-07-21 07:54:32 -05:00
David Walsh
eb622d96fc
EIP-1559 - Fix dapp suggested warning (#11568) 2021-07-21 07:49:17 -05:00
David Walsh
6d92759853
EIP-1559 - Implement form validation for EIP-1559 (#11540)
* Restructure advanced gas form errors

* Use shared constant for gas errors

* Add validation for fields too low

* Add warnings for high max fee and max priority fee

* Fix lint

* Fix priority fee high warning string
2021-07-20 14:34:32 -05:00
Daniel
eb3b9e213b Add support for Polygon (#11545)
* Fix a check for EIP presense
* Add support for Polygon
* Update default Polygon URL
* Trigger Build
* Use a more user-friendly error message for disabled Swaps API calls
2021-07-20 15:14:48 -02:30