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

15748 Commits

Author SHA1 Message Date
David Walsh
7760f4d658
Remove ONBOARDING_V2 flag for release (#16865)
* Remove ONBOARDING_V2 flag for release

* Remove new usage

* Update e2e tests

* Update incremental-security.spec.js

* Fix lint

Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
2023-01-13 10:25:01 -06:00
Mark Stacey
15ee9e1556
Await initializeProvider in network controller tests (#17180)
The network controller unit tests have been updated to wait until the
network controller is fully initialized before proceeding. This ensures
that the initialization doesn't have any side-effects that affect later
tests.
2023-01-13 12:53:39 -03:30
David Walsh
72a1df247c
Onboarding v2: Implement requested metrics (#17090) 2023-01-13 10:11:27 -06:00
Michele Esposito
2027763e57
Minimize lodash size in dependencies (#16030)
* chore: update lavamoat policies

* chore: fix build and lavamoat policy

* revert: 2f74297 as it increases bundle size

* chore: regenerate lavamoat policy

* chore: rebuild policy after rebase

* chore: added missing resolution

* cleanup rebase

Co-authored-by: Alex <adonesky@gmail.com>
2023-01-13 10:10:55 -06:00
Frederik Bolding
7b852c3ff2
Fix EIP-712 input validation order (#17156) 2023-01-13 16:57:08 +01:00
amerkadicE
00aee11c2a
Add contact unit tests (#17131) 2023-01-13 09:52:03 -06:00
David Walsh
105762b0ed
Fix 16842 - Update NFT error message so that it's caught properly and displayed (#17165)
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-13 09:33:01 -06:00
Filip Sekulic
e70b6dc29e
13/12 (#16948) 2023-01-13 20:11:07 +05:30
Frederik Bolding
f6f691190d
Fix Snaps E2E test flake (#17174) 2023-01-13 15:10:47 +01:00
Alex Donesky
dc253068f9
update build system policy override config (#17163) 2023-01-12 14:01:29 -06:00
Alex Donesky
709b64c128
Remove dead addressbook migration code (#17127)
* remove dead address book migration code

* cleanup

* addToFrequentRpcList -> upsertToFrequentRpcList

* remove migrateAddressBookState function
2023-01-12 13:05:48 -06:00
Alex Donesky
e0ff039078
bump @metamask/smart-transactions-controller version (#17120)
* bump smart-transactions-controller version

* update policy files

* fix

* rebase cleanup
2023-01-12 12:57:01 -06:00
Bowen Sanders
4c8faaba48
[FLASK] Create E2E test for snap_dialog (#17111)
* added dialog e2e test
2023-01-12 09:25:46 -08:00
Brad Decker
dff3da9cbd
Convert hexstring-utils to typescript (#17150)
* allow importing of typescript in E2E test suite

* fixup

* one last chainId

* convert hexstring-utils file to typescript

* use ts-node for scripts
2023-01-12 10:07:30 -07:00
Victor Naumik
7df712b888
Display primaryType in signTyped instead of 'Message' string (#17077)
* fix: Display primaryType in signTyped instead of 'Message' string

* fix: added #17077 to changelog

* fix: remove unused signatureRequest1 message to fix test-lint failure

* Update CHANGELOG.md

Co-authored-by: Dan J Miller <danjm.com@gmail.com>

* test: add assertion for the primaryType to signature-request component test

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-01-12 15:52:02 +01:00
Brad Decker
312f24fddc
allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06:00
Bowen Sanders
1b62a773b4
[E2E] Change to replace confirm snap to dialog snap (#17146) 2023-01-12 15:29:29 +01:00
David Walsh
d468739ff0
Ensure the NFT feature flag has changed in all places (#17152) 2023-01-11 23:04:02 -07:00
Mark Stacey
6482848610
Fix NetworkController destroy before initialization (#17136)
The NetworkController `destroy` method has been updated to ensure that
it no longer throws if called before initialization.

This method was added recently in #17032, but we forgot to handle the
case where the controller was not initialized.
2023-01-11 15:26:33 -03:30
Mark Stacey
e8e0cf5786
Remove unecessary code from the network controller tests (#17137)
The `initializeProvider` parameters were removed recently in #16863,
but they were still being set in tests. They have now been removed.

An unused property was also being set in the tests, which has now also
been removed.
2023-01-11 15:26:18 -03:30
ryanml
5061eac2e7
Fix duplicate button issue on Ledger connectivity screen (#17130) 2023-01-11 11:34:05 -07:00
Brad Decker
64839b6bf7
split unit tests (#16455)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-01-11 12:23:38 -06:00
Garrett Bear
01c0d7823d
Feat/15085/banner base component (#16828)
* add banner base component

banner base wip

remove base avatar

banner base

* add banner base

* Update ui/components/component-library/banner-base/banner-base.stories.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/components/component-library/banner-base/banner-base.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* named export org fix

* Update ui/components/component-library/banner-base/README.mdx

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* updated changes to banner base

* banner base updates

* fix description/children

* move banner base down

* Update ui/components/component-library/banner-base/README.mdx

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/components/component-library/banner-base/README.mdx

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/component-library/banner-base/banner-base.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/components/component-library/banner-base/banner-base.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/component-library/banner-base/banner-base.test.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/component-library/banner-base/banner-base.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* fix linting

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-01-11 09:42:18 -08:00
Frederik Bolding
38bbb2aeae
Bump Truffle packages (#17132) 2023-01-11 10:30:04 -06:00
Nidhi Kumari
6e900fb0e3
housekeeping for Avatar Favicon (#16931)
* housekeeping for avatar favicon

* added test for custom className

* fixed lint errors

* updated avatar favicon in tag url

* updated import

* updated readme and fixed label

* updated tag url snapshot

* updated snapshot for favicon
2023-01-11 21:41:06 +05:30
David Walsh
c12d469af2
Onboarding V2 - Fix CSS/React warnings from last screen (#17125) 2023-01-11 09:21:19 -06:00
Filip Sekulic
fc83a1b631
Fixed navigation through multiple unapproved transactions for ERC20 tokens (#16822) 2023-01-11 09:01:50 -06:00
Peter Yinusa
604bc304e4
Changelog for 10.23.3 (#17119)
* Update CHANGELOG.md

* [skip e2e] Update CHANGELOG.md

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

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-01-11 14:40:27 +00:00
ryanml
5a11388808
Merge pull request #17122 from MetaMask/master-sync
Sync `master` with `develop`
2023-01-10 16:13:14 -07:00
Bowen Sanders
f2da79f563
[E2E] Fixes to try to deflake Snaps E2E tests (#17123)
* added delays in several places

* fix to update test
2023-01-10 11:11:15 -08:00
ryanml
94c3e1ec73 Patch conflict fix 2023-01-10 10:14:23 -07:00
ryanml
4ca9390c0a Merge remote-tracking branch 'origin/develop' into master-sync 2023-01-10 10:13:11 -07:00
Dan J Miller
6dddb2c640
Merge pull request #17096 from MetaMask/Version-v10.23.3
Version v10.23.3 RC
2023-01-10 11:08:30 -03:30
Garrett Bear
e236792a90
add width docs to box component (#17007)
* add width docs to box component
2023-01-09 22:30:29 -08:00
Nidhi Kumari
56a3afaace
avatar account housekeeping (#16930)
* avatar account housekeeping

* avatar number to the diametere

* fixed lint errors

* converting blockie to number

* updated README

* updated constants for avatar account
2023-01-09 16:38:43 -08:00
Alaa Hadad
bbd76bcb38 soft disable onramp provider wyre (#17102) 2023-01-09 20:29:29 -03:30
Brad Decker
6ac899b96a add an extra identifier on anonymized duplicate events (#17080) 2023-01-09 20:28:58 -03:30
PeterYinusa
da18f15950 fix audit failure for luxon by upgrading (#17106) 2023-01-09 16:06:32 -06:00
David Walsh
7cd2b28cd5
Fix #16959 - Don't allow user to see welcome or password creation screen after a keyring has been created (#17024) 2023-01-09 14:55:48 -06:00
ryanml
64eae7d3f0
Fix spacing issue in Settings Search input (#17108)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-09 13:54:28 -07:00
George Marshall
b653b4f934
Fixing some incorrect CSS color vars (#17033)
* Fixing some incorrect css vars

* Static hex value fix

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-09 11:58:34 -08:00
PeterYinusa
53604b14dd Update policies
policy updates

Remove fast-json-patch exclusion

run lavamoat:auto
2023-01-09 15:36:04 -03:30
Brad Decker
8e3eaed57f
fix audit failure for luxon by upgrading (#17106) 2023-01-09 12:41:32 -06:00
Alaa Hadad
174d3dbcf0
soft disable onramp provider wyre (#17102) 2023-01-09 13:44:13 -03:30
PeterYinusa
5672f24c9f fix audit failure (#17079) 2023-01-09 08:03:49 -03:30
ryanml
7ea827565c
Fix 'Back' navigation from Restore Vault page when accessed from popup window (#17095) 2023-01-09 04:19:53 -07:00
amerkadicE
5964ece8d3
Ensure that protect your funds popover is displayed above tooltip (#17084) 2023-01-08 16:45:14 -06:00
MetaMask Bot
2dc8cb7136 Version v10.23.3 2023-01-06 20:08:14 +00:00
David Walsh
dc3a09de16
Dark Mode: Set to default based on user preferred scheme (#15870) 2023-01-06 14:07:47 -06:00
Mark Stacey
87ce653c86
Move MetaMask middleware out of network controller (#16863)
The "MetaMask middleware" is the set of middleware for handling methods that
we don't send to the network. This includes signing, encryption, `getAccounts`,
and methods that rely on pending transaction state.

Previously this middleware was setup as part of the network client, despite
having nothing to do with the network. They have been moved into the main RPC
pipeline established in `metamask-controller.js` instead.

This is a pure refactor, and should have no functional changes. The middleware
are still run in exactly the same order with the same arguments.
2023-01-06 13:44:50 -03:30