1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
Commit Graph

12715 Commits

Author SHA1 Message Date
Elliot Winkler
7daa55a52c Fix 'yarn setup' on M1 Macs (#11887)
There are a few issues encountered when running `yarn setup` on new
Apple Silicon (aka M1, aka arm64) Macs:

* The script halts when attempting to run the install step for
  the `chromedriver` package with the message "Only Mac 64 bits
  supported". This is somewhat misleading as it seems to indicate that
  chromedriver can only be installed on a 64-bit Mac. However, what I
  think is happening is that the installation script for `chromedriver`
  is not able to detect that an arm64 CPU *is* a 64-bit CPU. After
  looking through the `chromedriver` repo, it appears that 87.0.1 is the
  first version that adds a proper check ([1]).

  Note that upgrading chromedriver caused the Chrome-specific tests to
  fail intermittently on CI. I was not able to 100% work out the reason
  for this, but ensuring that X (which provides a way for Chrome to run
  in a GUI setting from the command line) is available seems to fix
  these issues.

* The script also halts when attempting to run the install step for
  the `electron` package. This happens because for the version of
  `electron` we are using (9.4.2), there is no available binary for
  arm64. It appears that Electron 11.x was the first version to support
  arm64 Macs ([2]). This is a bit trickier to resolve because we don't
  explicitly rely on `electron` — that's brought in by `react-devtools`.
  The first version of `react-devtools` that relies on `electron` 11.x
  is 4.11.0 ([3]).

[1]: 469dd0a6ee
[2]: https://www.electronjs.org/blog/apple-silicon
[3]: https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md#4110-april-9-2021
2021-09-01 14:56:34 -07:00
ryanml
fdcb880b80
[skip e2e] Update changelog for v10.1.0 (#11993) 2021-09-01 12:29:02 -07:00
MetaMask Bot
a70b9c346b Version v10.1.0 2021-09-01 17:50:44 +00:00
ryanml
c3ca4916aa Using a normal bundle instead of a factored bundle for phishing-detect (build sys) (#11972) 2021-09-01 10:46:32 -07:00
Dan J Miller
9cf7413e4b 1559 ledger (#11951)
* EIP-1559 - Provide support for Ledger

* Update ui/selectors/selectors.js

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

* Add shared constants for hw types

* bump eth-ledger-bridge-keyring to v0.7.0

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Alex <adonesky@gmail.com>
2021-09-01 10:43:42 -07:00
ryanml
fbafffe1ba
Merge pull request #11932 from MetaMask/Version-v10.0.3
Version v10.0.3 RC
2021-08-26 09:43:35 -07:00
ryanml
d3dd861561 Updating changelog 2021-08-25 17:02:56 -07:00
Alex Donesky
13c2614b0d Use higher gasfees when attempting to speedup or cancel a transaction (#11936) 2021-08-25 17:02:01 -07:00
ryanml
ff1a63cf75 Updating message about disabled Mobile Sync (#11935) 2021-08-25 17:01:54 -07:00
ryanml
33a801897e
[skip e2e] Update changelog for v10.0.3 (#11933) 2021-08-25 12:44:58 -07:00
MetaMask Bot
da30254ba4 Version v10.0.3 2021-08-25 18:59:57 +00:00
ryanml
d1d6eac49c Temporarily Disabling Mobile Sync (#11931) 2021-08-25 11:56:23 -07:00
ryanml
9d6fee3c07 Updating decimal precision to 9 (getRoundedGasPrice) (#11930) 2021-08-25 11:55:46 -07:00
Alex Donesky
4e686d5590 Fix issue with chainId comparison in sign typed message param validation (#11900) 2021-08-25 11:55:37 -07:00
ryanml
0e7aec27c7
Merge pull request #11855 from MetaMask/Version-v10.0.2
Version v10.0.2 RC
2021-08-18 08:33:59 -07:00
ryanml
5be161e5e4 Updating changelog 2021-08-18 04:30:38 -07:00
Dan J Miller
f000e6f7e0 Update copy on tooltip shown when gas suggests gas fees (#11873) 2021-08-18 04:29:07 -07:00
ryanml
cfac223fe8 Adding trezor script/html to standardSubtask (build system) (#11874) 2021-08-18 04:29:01 -07:00
ryanml
ddae14dab9 Updating changelog 2021-08-18 03:00:32 -07:00
Dan J Miller
f6cd702f1b Dont default gas limit in gas popover when non is available on transaction params (#11872)
* Dont default gas limit when non is available on transaction params

* Fix unit tests
2021-08-18 02:57:41 -07:00
ryanml
1a01172d93 Fix content cutoff issue (Mobile Sync View (#11871) 2021-08-18 02:19:42 -07:00
ryanml
a3a5a07c33 Updating changelog 2021-08-17 18:23:34 -07:00
Dan Finlay
87d8598441 Increase saliency of mobile sync warning (#11862)
* Increase warning saliency of qr sync

* Remove duplciate locale entries

* Revise wording per Antonela feedback

* Avoid all caps

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
2021-08-17 18:21:01 -07:00
Dan J Miller
17ae98ac39 Allow submission of transactions with dapp suggested gas fees, while estimates are loading (#11858)
* Allow submission of transactions with dapp suggested gas fees, while estimates are loading

* Allow editing of transactions with dapp suggested feeds, while estimates are still loading

* Ensure that advanced gas is always editible inline when gas is loading

* Ensure that insufficient balance error is shown when gas is loading if the user has customized the gas

* Only set gas price insufficient errors if the current network is non-eip-1559, or the txparams actually have a gas price

* Remove unnecessary param

* lint fix

* ensure insufficient balance warning is showing when loading

* Ensure that eip1559 network transactions do not combined eip1559 and non-eip1559 gas fee properties

* Lint fix
2021-08-17 13:11:07 -07:00
Dan J Miller
da42d60df1 Allow advanced inline gas editing when there is an estimates unavailable error (#11859) 2021-08-17 13:09:25 -07:00
ryanml
113e00e442
Update v10.0.2 changelog (#11856)
RC: https://github.com/MetaMask/metamask-extension/pull/11855
2021-08-16 18:30:19 -07:00
MetaMask Bot
31f751c7ca Version v10.0.2 2021-08-17 01:04:25 +00:00
Dan J Miller
805859af4d Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852)
* Improve flashing behaviour for loading gas estimates

* Fix typo

* renderHeartBeatIfInTest
2021-08-16 18:00:11 -07:00
Dan J Miller
b6086ebc17 Allow editing custom gas while estimate is loading (#11853) 2021-08-16 18:00:00 -07:00
Alex Donesky
4da940fdd4 Add low/medium/high gas recommendations to the speedup/cancel gas popovers (#11818) 2021-08-16 17:57:09 -07:00
ryanml
b7bab56a04 Return an empty string when date is not provided [Date display utils] (#11831) 2021-08-16 17:56:56 -07:00
Daniel
f5f923d208 Fix Insufficient number of substitutions for key "swapYourTokenBalance" (#11833)
* Fix Insufficient number of substitutions for key "swapYourTokenBalance"

* Use an empty string if there is no default symbol

* Add ? after SWAPS_CHAINID_DEFAULT_TOKEN_MAP[chainId]
2021-08-16 17:56:45 -07:00
David Walsh
a0d8894989 Remove unwanted console.log from codebase (#11820) 2021-08-16 17:56:33 -07:00
ryanml
96eb9c089b
Merge pull request #11816 from MetaMask/Version-v10.0.1
Version v10.0.1 RC
2021-08-11 13:52:40 -07:00
Alex Donesky
5d056eebed bump path-parse version to address security vulnerability (#11807) 2021-08-11 12:46:53 -07:00
ryanml
54be6538f7 Updating Changelog 2021-08-11 12:41:54 -07:00
MetaMask Bot
ba1a4a2032 Version v10.0.1 2021-08-11 19:36:08 +00:00
Mark Stacey
02d1473f6e Fix Sentry release configuration (#11813)
The Sentry `release` was not being configured correctly. It was being
left blank. This is because the location of the extension version was
moved in #11029. The build script was correctly updated in that PR, but
that work was accidentally undone in a merge error that was included
in #11080.
2021-08-11 12:32:16 -07:00
Dan J Miller
bdb66708d2
Merge pull request #11731 from MetaMask/Version-v10.0.0
Version v10.0.0 RC
2021-08-10 09:53:23 -02:30
Dan J Miller
de388a7b1c Ensure transaction activity log supports EIP-1559 (#11794)
* Ensure transaction activity log supports EIP-1559

* unit test fix

* Add estimated base fee to swaps txMeta

* fix lint and tests

* Improve activity log copy
2021-08-06 19:49:33 -02:30
Alex Donesky
9566cd09c0 Hide gasTiming on edit-gas-popover when form is in error (#11792)
* Hide gasTiming on edit-gas-popover when form is in error

* Show unknown processing error if maxFeePerGas is too low for network conditions

* remove unnecessary change

* remove unnecessary function wrapper
2021-08-06 19:30:11 -02:30
Dan J Miller
738d2722c5 Fixes updates on the confirm screen. (#11788)
* Fixes updates on the confirm screen.

* Better handling of internal send transactions

* maxFee -> maxFeePerGas property name fix

* Remove redundant setEstimateToUse call in onManualChange

* Fix unit tests

* rebase error fix

* Fixes to speedup loading and transaction breakdown priority fee

* Fix lint and unit tests

* Ensure gas price based transaction that have been customized (e.g. speed up and retry) are properly initialized in useGasFeeInputs

* Clean up

* Link fix
2021-08-06 19:30:10 -02:30
Daniel
29948f3c3a Fix fee level content (#11790) 2021-08-06 19:30:10 -02:30
David Walsh
39e5750981 EIP-1559 - Ensure form always displays when there are errors (#11787) 2021-08-06 01:45:53 -02:30
Alex Donesky
2089767d96 fix confirm transaction details to match spec (#11779) 2021-08-06 01:45:53 -02:30
David Walsh
0377e2c64e Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-06 01:45:53 -02:30
Alex Donesky
99fecbf6d2 Separate out non blocking gas errors (#11783) 2021-08-06 01:45:53 -02:30
Alex Donesky
f3995b72b0 Add fee level education button to swaps edit gas popover (#11785) 2021-08-06 01:45:53 -02:30
David Walsh
df6c05eb17 Fix NumericInput proptype error (#11773) 2021-08-06 01:45:53 -02:30
Dan J Miller
c2bfa57981 Allow max fee to be equal to max priority fee (#11778) 2021-08-05 14:23:50 -02:30