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

15895 Commits

Author SHA1 Message Date
seaona
8123bde5af lavamoat:auto 2023-02-07 14:40:28 +01:00
PeterYinusa
0930f8093f Resolve merge conflicts
Remove changes from https://github.com/MetaMask/metamask-extension/pull/16740 in https://github.com/MetaMask/metamask-extension/pull/17437
2023-02-07 13:36:44 +00:00
PeterYinusa
9696fbba18 Add missing dependancy
Required for https://github.com/MetaMask/metamask-extension/pull/17326/
2023-02-07 12:31:38 +00:00
seaona
19585eb558 lavamoat:auto 2023-02-07 13:30:35 +01:00
Harry
21086d953c Disable eth_sign by default, allow users to toggle it back on (#17308)
* Added translation for eth sign toggle

* Disabled the ability to call eth_sign by default. Added ability within advanced settings to renable support for eth_sign

* Add test case for eth_sign being enabled and disabled

* Modified copy

* Moved rpc method preference to its own object within store

* Complete work on moving rpc method preference into its own object within store

* Fix with prettier

* Fix lint

* Fix a unit test

* Fix test

* Renamed function and object keys to be more intuitive

* Fix e2e test

* Enabled eth_sign through preferences fixture

* Fix lint

* Fix e2e test

Wait for the notification popup to close, leaving 2 window handles the extension and the test dapp

* Fix e2e test

* Fix unit test

Enable eth_sign method

* Lint fix

---------

Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-02-06 19:43:36 +00:00
Dan J Miller
9ecf5d2d4e Fix speed up of 0 max priority fee transactions (#17547)
* Fix speed up of 0 max priority fee transactions

* Update ui/hooks/gasFeeInput/useTransactionFunction.test.js

Co-authored-by: Brad Decker <bhdecker84@gmail.com>

* Use bignumber for comparison to zero

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-02-06 19:37:30 +00:00
Vladimir Saric
222a7dd881 Display a warning and gas fee component for token allowance and NFT flow when transaction is expected to fail (#17437)
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-02-06 19:30:26 +00:00
Dan J Miller
4b18d48366 Ensure the advanced gas modal displays a zero priority fee if that is how it is set in the transaction (#17559)
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-02-06 17:04:49 +00:00
Dan J Miller
fe0875cc17 Fix http-cache-semantics dependency vulnerability GHSA-rc47-6667-2j5j (#17563)
* Fix http-cache-semantics dependency vulnerability GHSA-rc47-6667-2j5j

* Update package.json

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

* update yarn.lock

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-02-06 17:01:04 +00:00
Harry
a2a195f2c4 🐛 Calldata validation (#17326)
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
Co-authored-by: brad-decker <bhdecker84@gmail.com>
2023-02-06 16:46:59 +00:00
ryanml
d95322d84f Add initial changelog entries 2023-02-01 15:56:40 -07:00
ryanml
a824b71404 cookiejar 2.1.4 2023-02-01 14:56:32 -07:00
ryanml
fad3ebd476 Merge remote-tracking branch 'origin/master' into Version-v10.25.0 2023-02-01 14:50:26 -07:00
Dan J Miller
fdeb1e9dc9
Merge pull request #17472 from MetaMask/Version-v10.24.2
Version v10.24.2 RC
2023-01-30 17:21:16 -08:00
Dan J Miller
665f22d236 Update changelog for v10.24.2: adding entry for #17432 2023-01-30 08:55:31 -03:30
Dan J Miller
a31eccd01e Fix unit tests that were removed on develop in #16862, but broken in master with #17450 2023-01-30 06:23:59 -03:30
Jyoti Puri
58b5332b67 Improving getMemoizedMetadataContractName selector (#17432) 2023-01-27 12:33:02 -07:00
ryanml
62bca62273 Updating changelog 2023-01-27 11:09:23 -07:00
Dan J Miller
5f5b75832f Fix cookiejar dependency vulnerability (#17355) 2023-01-27 11:06:43 -07:00
MetaMask Bot
76ebc3318c Version v10.24.2 2023-01-27 17:40:38 +00:00
Dan J Miller
c9acbfb973 Use network provider state, instead of CurrencyRateController state, to select 'nativeCurrency' (#17450)
* Use network provider state, instead of CurrencyRateController state, select 'nativeCurrency'

* Fix unit tests

* Lint fix

* Only use the network provider ticket for the native currency when useCurrencyRateCheck is false

* Fix unit test

* Fix tests for real
2023-01-27 10:37:38 -07:00
Frederik Bolding
342af724d4 [FLASK] Update onboarding text to fit new panel (#17345)
* Update Flask onboarding text to fit new panel

* Fix lint
2023-01-25 12:31:48 +00:00
Dan J Miller
bc6f43b6e6
Merge pull request #17303 from MetaMask/Version-v10.24.1
Version v10.24.1 RC
2023-01-20 09:46:48 -08:00
ryanml
bf4c21aa84 Version v10.25.0 2023-01-20 10:08:37 -07:00
PeterYinusa
a1d5c1ad6e Update changelong for v10.24.1 2023-01-20 12:18:11 +00:00
Dan Miller
ebd302b1c2 Update changelong for v10.24.1 2023-01-20 08:25:36 -03:30
Dan J Miller
0a7f83172d Add missing appName in the zh_TW language file (#17304)
* Add missing appName in the zh_TW language file

* Fix
2023-01-19 19:23:57 -03:30
Dan J Miller
cc518b918f
Add missing appName in the zh_TW language file (#17304)
* Add missing appName in the zh_TW language file

* Fix
2023-01-19 19:22:46 -03:30
MetaMask Bot
df9ff6438c Version v10.24.1 2023-01-19 20:30:17 +00:00
ryanml
83d74b6c40
Merge pull request #17301 from MetaMask/master-sync
Sync `master` with `develop`
2023-01-19 13:18:50 -07:00
ryanml
48e518d91f Cleaning up merge 2023-01-19 12:10:43 -07:00
ryanml
c67acb7411 Merge remote-tracking branch 'origin/develop' into master-sync 2023-01-19 11:56:06 -07:00
Nidhi Kumari
90d2ca0727
updated initial state of new imported nfts to expanded (#17285) 2023-01-19 23:01:13 +05:30
Nidhi Kumari
0fdff8955c
added title for each nft in asset dropdown (#17286) 2023-01-19 23:00:35 +05:30
Dan J Miller
c2be2ce6be
Merge pull request #16840 from MetaMask/Version-v10.24.0
Version v10.24.0
2023-01-19 13:52:26 -03:30
Dan J Miller
0a37e83aea
Merge pull request #17281 from MetaMask/update-v10.24-changelog
Update CHANGELOG.md
2023-01-19 12:19:06 -03:30
Dan J Miller
45fa923814 Clarify effect of autodetect tokens toggle (#17293)
* Clarify effect of autodetect tokens toggle

* Fix test

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-19 15:10:40 +00:00
Dan J Miller
f4391bb5c4 Allow user to scroll network form in onboarding modal (#17291) 2023-01-19 15:10:24 +00:00
Danica Shen
8f915807e4
fix(mme-14830): fix consistent tab when switching languages (#17155) 2023-01-19 15:05:42 +00:00
Dan J Miller
c90d389b84
Clarify effect of autodetect tokens toggle (#17293)
* Clarify effect of autodetect tokens toggle

* Fix test

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-19 11:33:08 -03:30
Brad Decker
e830176fc8
fix issue with network state shape expected in NftDetectionController (#17283) 2023-01-19 08:17:47 -06:00
Dan J Miller
9a8bb81358
Allow user to scroll network form in onboarding modal (#17291) 2023-01-19 10:44:47 -03:30
Dan J Miller
34c4122013
Update forking-mainnet-for-testing.md (#16235)
* Update forking-mainnet-for-testing.md

Add missing important piece of documentation

* Update docs/forking-mainnet-for-testing.md

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Update docs/forking-mainnet-for-testing.md

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Update for yarn 3

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-01-19 06:18:53 -07:00
ryanml
63a3de6768
Various NFT UI fixes (#17153)
* Various NFT UI fixes

* Addressing review feedback

* Using ButtonIcon component for copy icon

* Using button for collectible item
2023-01-18 15:39:15 -07:00
PeterYinusa
4f118feaad Update CHANGELOG.md 2023-01-18 22:28:31 +00:00
Thomas Huang
d99854baac
Convert signature request component to tlr. (#17268) 2023-01-18 11:34:28 -08:00
Thomas Huang
fae2a02d1c
Bump @testing-library/react-hooks dependency. (#17271)
* Bump @testing-library/react-hooks from `v3.2.1` to `v8.0.1`

* Lavamoat policy changes with dep bump
2023-01-18 10:49:56 -08:00
PeterYinusa
a464f128bc Update test-snap-notification.spec.js 2023-01-18 18:36:51 +00:00
PeterYinusa
fbea2f7c53 update more snaps tests 2023-01-18 17:48:07 +00:00
PeterYinusa
5380ec5e15 update address path snap e2e tests 2023-01-18 16:37:30 +00:00