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

15338 Commits

Author SHA1 Message Date
Dan J Miller
7f9e24c4f0 Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions (#15064)
* Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions

* Ensure hex-prefixed addresses in send input

* Update unit tests

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-28 14:23:28 -02:30
Dan J Miller
cb77f94bc5
Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions (#15064)
* Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions

* Ensure hex-prefixed addresses in send input

* Update unit tests

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-28 14:21:09 -02:30
MetaMask Bot
51311e4024 Version v10.16.1 2022-06-28 14:42:13 +00:00
Dan J Miller
4d42715220
Merge pull request #15063 from MetaMask/revert-v10.16.0
Revert v10.16.0
2022-06-28 11:44:50 -02:30
Mark Stacey
925a19fa4a Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
This reverts commit f09ab88891, reversing
changes made to effc761e0e.

This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2022-06-28 10:41:47 -02:30
Alex Donesky
5290402181
Fix tokenIds larger than MAX_SAFE_INTEGER converted to scientific notation and failing to import (#15016)
* fix tokenIds larger than MAX_SAFE_INTEGER breaking

* add tests
2022-06-27 19:31:25 -05:00
PeterYinusa
bf9140aa57
Chromedriver v103 (#15015)
* update chromdriver to v103

* update chrome binary to v103
2022-06-24 08:41:55 -04:00
MetaMask Bot
b96690a976 Version v10.17.0 2022-06-23 23:25:06 +00:00
ryanml
fbbd212d3a
Merge pull request #15040 from MetaMask/master-sync
Sync `master` with `develop`
2022-06-23 16:13:52 -07:00
ryanml
50e7fe9386 Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-23 12:28:06 -07:00
Dan J Miller
f09ab88891
Merge pull request #14912 from MetaMask/Version-v10.16.0
Version v10.16.0 RC
2022-06-23 16:39:20 -02:30
seaona
de228da783 Add space under Flask PR item 2022-06-23 14:33:43 +02:00
seaona
2d41e5dcfa Fix changelog release bottom list 2022-06-23 14:28:05 +02:00
seaona
7afa381b49 Merge remote-tracking branch 'origin/master' into Version-v10.16.0 2022-06-23 13:54:49 +02:00
seaona
ece2ed37cb Re-wording changelog for method resolution fix 2022-06-23 12:46:29 +02:00
seaona
c62730a7cb Signature method resolution added to changelog 2022-06-23 11:44:20 +02:00
Frederik Bolding
167af09a11 Increase likelyhood of valid method signatures being returned by getMethodData (#14937)
* Increase likelyhood of valid method signatures being returned by getMethodData

* Update coverage

* Update coverage

* Update coverage

* add a migration to clear knownMethodData

* Small typo changes

Co-authored-by: Alex <adonesky@gmail.com>
2022-06-23 11:05:40 +02:00
seaona
f85806ce97
Update v10.16.0 changelog (#14947)
* Changelog for 10.16.0 cleaned up

* Updates for fixing PR review comments

* Remove bug fix for a bug that never made it to prod

* Re-phrased fix permissions to fix currency symbol

* Update with review comment fixes and add Snaps uncategorized PRs

* Reorg

* Apply suggestions from code review - Snaps

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Categorized snaps PRs under correct type

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-23 04:12:45 -02:30
ryanml
2d3f85687e
Merge pull request #15013 from MetaMask/master-sync
Sync `master` with `develop`
2022-06-22 18:45:21 -07:00
Ariella Vu
20023ebb4f
README.md: add PASSWORD .metamaskrc instruction (#15004) 2022-06-22 15:48:11 -05:00
ryanml
71755bf4cc Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-22 12:24:48 -07:00
Dan J Miller
effc761e0e
Merge pull request #15002 from MetaMask/Version-v10.15.1
Version v10.15.1 RC
2022-06-22 15:32:24 -02:30
Daniel
5fa88bebce
Show how much a cancellation of a smart transaction will cost (#15011) 2022-06-22 18:58:51 +02:00
Dan J Miller
324ac0cd78 Add exclusion for GHSA-pfrx-2q88-qq97, which is in the 3box dependency tree but not our build (#15005) 2022-06-22 11:58:26 -02:30
Dan J Miller
82430e4659
Add exclusion for GHSA-pfrx-2q88-qq97, which is in the 3box dependency tree but not our build (#15005) 2022-06-22 11:46:58 -02:30
Frederik Bolding
ba961819f8
Backport snaps e2e fix (#15008)
* Backport snaps e2e fix

* Fix selector
2022-06-22 09:54:44 -02:30
SebSeb11
dc951c505a
fix minor german translation issue. connected=verbunden (#14997) 2022-06-21 21:37:43 -07:00
David Walsh
6ffd0ce063
Fix 14802 - Prevent children error in page container (#14809) 2022-06-21 18:38:39 -05:00
Micaiah Reid
1fd4dfbde4 Allow locally hosted RPC and Block Explorer Urls with wallet_addEthereumChain (#14272)
* add function to check if url is localhost

* allow localhost rpcUrls in `wallet_addEthereumChain`

* allow localhost blockExplorerUrls

* wrap new URL in try/catch
2022-06-21 19:42:50 -02:30
Mark Stacey
b68aee1bef
Migrate the build script to yargs (#14836)
The build script now uses `yargs` rather than `minimist`. The CLI is
now better documented, and we have additional validation for each
option.

A patch for `yargs` was required because it would blow up on the line
`Error.captureStackTrace`. For some reason when running under LavaMoat,
that property did not exist.

Closes #12766
2022-06-21 17:37:05 -02:30
Dan J Miller
850c68ebb0 Update changelog for v10.15.1 2022-06-21 17:20:40 -02:30
Frederik Bolding
506a9872f0 Update E2E tests for new test-dapp version (#14939)
* Update xDAI E2E information

* Use local Ganache instance instead of Gnosis Chain

* Bump test-dapp

* Bump test-dapp

* Enable secondary Ganache server for other test

* Fix linting

* Improve E2E stability

* Update network selector
2022-06-21 17:13:57 -02:30
Ariella Vu
479298fc89 MetaMetrics: Fixes TypeError: Object.values(...).reduce(...).flat is not a function (#14962)
* metametrics: flat is not a function

* MetaMetrics: shorten array logic
2022-06-21 17:09:15 -02:30
Dan J Miller
254e600d07 Destroy ledger keyring when removing last account in ledger keyring (#14993)
* Destroy ledger keyring when removing last account in ledger keyring

* Update unit tests
2022-06-21 17:06:36 -02:30
MetaMask Bot
390cf09b3f Version v10.15.1 2022-06-21 19:26:15 +00:00
Dan J Miller
ac7245b50c
Destroy ledger keyring when removing last account in ledger keyring (#14993)
* Destroy ledger keyring when removing last account in ledger keyring

* Update unit tests
2022-06-21 16:33:54 -02:30
George Marshall
051254dffd
Fixing tooltip theming by enforcing default theme (#14992)
* Fixing tooltip theming by enforcing background color

* Removing wide prop
2022-06-21 09:50:44 -07:00
daniba
085126d275
Move search icon and add to storybook (#14940)
* move search icon || update imports || add to story

* Optimized svg path, updated icon api and updating colors

* update other icons

* update snapshot

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-06-21 10:18:35 -05:00
Olusegun Akintayo
3267d6ecc4 Only have timeout for when payload is getState (#14972)
* Only have timeout for when payload is getState

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix test

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-06-20 17:53:17 -07:00
Frederik Bolding
5168538afe Update E2E tests for new test-dapp version (#14939)
* Update xDAI E2E information

* Use local Ganache instance instead of Gnosis Chain

* Bump test-dapp

* Bump test-dapp

* Enable secondary Ganache server for other test

* Fix linting

* Improve E2E stability

* Update network selector
2022-06-20 17:53:06 -07:00
Zachary Belford
5a1bc94aa4
Changed accounts fuzzy search threshhold to match all (#14914)
* Changed accounts fuzzy search threshhold to match all

* Changed account search only when there is at least 2 terms

* Fixed linting issue

* Lint fix account menu component
2022-06-20 15:35:07 -07:00
Guillaume Roux
25739a5fc1
[FLASK] Fix notifications icon color (#14941) 2022-06-20 23:23:51 +02:00
seaona
5a4b71b08b Run lavamoat auto 2022-06-20 19:07:52 +02:00
Frederik Bolding
82645ba516
[FLASK] snaps-skunkworks@0.16.0 (#14952)
* snaps-skunkworks@0.16.0

* Bump iframe-execution-environment

* Add getAppKey

* Regen LavaMoat policy

* Bump test-snaps
2022-06-20 10:13:12 +02:00
Erik Marks
b491367632
[FLASK] Rename workerController to snapExecutionService (#14981)
Renames the `MetaMaskController.workerController` property to `snapExecutionService`, which better matches the naming scheme used throughout the Snaps codebase. No functional changes.
2022-06-19 10:15:02 -07:00
Jyoti Puri
843beb6d20
MV3: fix injection of applyLavamoat variable in service worker (#14920) 2022-06-18 12:40:30 +05:30
Frederik Bolding
4048feeaac
Increase likelyhood of valid method signatures being returned by getMethodData (#14937)
* Increase likelyhood of valid method signatures being returned by getMethodData

* Update coverage

* Update coverage

* Update coverage

* add a migration to clear knownMethodData

* Small typo changes

Co-authored-by: Alex <adonesky@gmail.com>
2022-06-17 23:11:09 +02:00
ricky
3d74d06f93
Add missing subtitles for secret recovery phrase (#14943)
* add missing subtitles

* Update subtitles map

* update subtitle map in onboarding v2 flow

Co-authored-by: Alex <adonesky@gmail.com>
2022-06-17 14:55:04 -04:00
白宦成
adbd1c79be
fix EditGasDisplay (#13980)
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-06-17 13:04:59 -05:00
Olusegun Akintayo
4b9e84aa20
Only have timeout for when payload is getState (#14972)
* Only have timeout for when payload is getState

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix test

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-06-17 15:04:44 +04:00