1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
Commit Graph

12383 Commits

Author SHA1 Message Date
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
Dan J Miller
b7ee6f47f8
Ensure gas limit estimation for token sends has correct default/base gas (#11565)
* Ensure gas limit estimation for token sends has correct default/base gas

* Fix comment change
2021-07-20 15:07:07 -02:30
MetaMask Bot
0f90c4239a Version v9.8.2 2021-07-20 12:33:28 +00:00
ryanml
458483ed10
Merge pull request #11517 from MetaMask/Version-v9.8.1
Version v9.8.1 RC
2021-07-16 11:49:59 -07:00
ryanml
867d050695 Updating CHANGELOG.md 2021-07-15 15:09:25 -07:00
Dan J Miller
62729c94a1 Retrieve state after async action before updating state in _setSwapsQuoteRefreshTime (#11538) 2021-07-15 15:01:00 -07:00
ryanml
96d86a8d86
Update CHANGELOG.md header
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-07-13 14:40:25 -07:00
ryanml
c2d4995e2e Updating changelog for 9.8.1 2021-07-13 13:36:15 -07:00
MetaMask Bot
80b0f04127 Version v9.8.1 2021-07-13 20:31:50 +00:00
Brad Decker
12e7089363 moving some properties to identifiable payload (#11506) 2021-07-13 13:29:25 -07:00
ryanml
609ef9a09c Converting gas params for tx metrics to decimal GWEI (#11482) 2021-07-13 13:29:14 -07:00
ryanml
0df928efa9 Using current time in place of block timestamp for completion time metric (#11483) 2021-07-13 13:27:50 -07:00
ryanml
c87dce9ce5
Merge pull request #11439 from MetaMask/Version-v9.8.0
Version v9.8.0 RC
2021-07-12 08:30:47 -07:00
Dan J Miller
3ab5419dec Ensure simple send gas estimation happens after the recipient is iden… (#11485)
* Ensure simple send gas estimation happens after the recipient is identified

* Update ui/ducks/send/send.test.js

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* Improve test name

* Lint fix

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2021-07-09 16:42:21 -02:30
Alex Donesky
bff17c6873 fix up ens/hex address validation error handling (#11477)
* fix up ens/hex address validation error handling

* fix lint/tests
2021-07-09 16:42:21 -02:30
Daniel
54a6588628 Swaps: Add conditional routing to new APIs based on a feature flag (#11470) 2021-07-09 16:41:41 -02:30
Alex Donesky
ece437b139 Update controllers with conversionRate change with minimal required changes in extension (#11361)
* updating controllers with conversionRate change with minimal required changes in extension

* swapping showFiat selector in places where possible

* adding invalid conversion protection

* lint fixes

* adjusting list-item styling logic
2021-07-09 16:35:44 -02:30
ryanml
1b2cfe74d5
[skip e2e] Update changelog for v9.8.0 (#11463) 2021-07-06 14:01:01 -07:00
MetaMask Bot
17682e3368 Version v9.8.0 2021-07-05 09:14:05 +00:00
Dan J Miller
2da9acd325 Add some metrics events to the 3box controller (#11447) 2021-07-05 01:32:03 -07:00
Dan J Miller
e5d54afe80 Ensure transaction controller correctly estimates gas for special custom networks (#11441) 2021-07-05 01:31:50 -07:00
Dan J Miller
70b86acd45 Add list of custom networks with special gas limit buffers (#11435) 2021-07-05 01:30:52 -07:00
Dan J Miller
6d53b00dcd Ensure that eth_estimateGas is called to estimate gas limit for simple sends on custom networks (#11418)
* Ensure that eth_estimateGas is called to estimate gas limit for simple sends on custom networks

* getIsNonStandardEthChain returns false when in test

* Add comment explaining gas limit buffer multipliers in estimateGasLimitForSend
2021-07-05 01:30:12 -07:00
Brad Decker
e17325c38a Refactor send page state management (#10965) 2021-07-05 01:09:19 -07:00
Alex Donesky
85f17831a2 add erc-721 token detection and flag to disable sending (#11210)
* add erc-721 token detection and flag to disable sending

* addressing feedback

* remove redundant provider instantiation

* fix issue caused by unprotected destructuring

* add tests and documentation

* move add isERC721 flag to useTokenTracker hook

* Update  and  unit tests

* use memoizedTokens in useTokenTracker

Co-authored-by: Dan Miller <danjm.com@gmail.com>
2021-07-05 01:01:26 -07:00
ryanml
bd38b02d8e
Merge pull request #11423 from MetaMask/Version-v9.7.1
Version v9.7.1 RC
2021-07-01 12:56:25 -07:00
ryanml
da259e11a5
[skip e2e] Update changelog for v9.7.1 (#11431) 2021-06-30 12:46:23 -07:00
MetaMask Bot
4b7a1ec91f Version v9.7.1 2021-06-30 19:29:07 +00:00
Dan J Miller
520fbcdd03 Fix gas-modal-page-container.container check for custom gas price safety (#11426)
* Fix gas-modal-page-container.container check for custom gas price safety

* Ensure gas price has been fetch before checking for price safety on testnets
2021-06-30 12:20:10 -07:00
Brad Decker
f03882a3ca fix jest tests to run ui tests (#11390) 2021-06-29 15:35:34 -07:00
Brad Decker
810978c1ff use jest for testing shared (#11334) 2021-06-29 15:35:22 -07:00
Brad Decker
4e0bfbc463 add eip-1559 fields to event schema (#11408)
* add eip-1559 fields to event schema

* add gas_limit to all
2021-06-29 15:00:31 -07:00
Brad Decker
6280b849ad Add methods to easily detect transaction type based on gas fields (#11382) 2021-06-29 13:52:06 -07:00
ryanml
a1e141fbe1 Updating address error (#11389) 2021-06-29 13:37:29 -07:00
ryanml
b1f469d1e2 Removing obsolete client-side transaction metrics events (#11329)
* Removing metametrics send count tracking

* Removing client side Transaction Completed and Canceled events
2021-06-29 13:37:11 -07:00
ryanml
9a6b619740 Adding metric events for Approved, Rejected, and Submitted to the TxController (#11358) 2021-06-29 13:35:38 -07:00
ryanml
077ee16ec2 Add 'Transaction Added' metric event to TransactionController (#11341) 2021-06-29 13:35:26 -07:00
ryanml
fed9c86abb Adding gasEstimateType to 'Changed Gas Button' metrics event (#11352)
Adding 'Changed Gas Button' metrics event
2021-06-29 13:35:13 -07:00
ryanml
cbb0e4d45c
Merge pull request #11274 from MetaMask/Version-v9.7.0
Version v9.7.0 RC
2021-06-25 09:52:00 -07:00
Dan J Miller
b7b30d0796 Use eth_gasPrice result for setting too low warning on custom networks (#11370)
* Use eth_gasPrice result for setting too low warning on custom networks

* Assume CustomPriceSafeForCustomNetwork when there is no custom price set (it will default to recommended)
2021-06-24 11:17:21 -07:00
ryanml
73200a7876 Allowing custom rpc form submission when chainId is a duplicate (#11363) 2021-06-23 09:15:25 -07:00
ryanml
4818ddad25 Fixing changelog 2021-06-22 18:08:00 -07:00
Mark Stacey
23c53ae6b4 Update LavaMoat policy using lavamoat:auto 2021-06-21 22:30:48 -07:00
ryanml
fd45853a17
[skip e2e] Update changelog for v9.7.0 (#11275) 2021-06-21 13:00:43 -07:00
Brad Decker
47464b7fcd change download location of chrome file (#11346)
* change download location of chrome file

* Update .circleci/scripts/chrome-install.sh

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

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-06-21 12:16:43 -07:00
ryanml
40c8a1a984
Merge branch 'master' into Version-v9.7.0 2021-06-21 12:15:52 -07:00
ryanml
c0be92a87d
Merge pull request #11311 from MetaMask/Version-v9.6.1
Version v9.6.1 RC
2021-06-15 14:16:11 -07:00
ryanml
88c1342e6b
[skip e2e] Update changelog for v9.6.1 (#11312) 2021-06-15 12:42:02 -07:00
MetaMask Bot
56650b7e56 Version v9.6.1 2021-06-15 18:59:27 +00:00
Alex Donesky
9f0ec1c18f patch breaking change in signTypeData param validation (#11309) 2021-06-15 11:57:14 -07:00