MetaMask Bot
f730c6c8b4
Version v10.26.2
2023-03-17 18:19:39 +00:00
Ariella Vu
4f36a3121c
Sign in with Ethereum: re-enable warning UI for mismatched domains / disable domain binding ( #18200 )
...
* siwe: re-enable warning UI for mismatched domains
- unblocks mismatched domain support
- we may re-add error handling here #18184
- reverts logic from #16616
* siwe: fix mismatch domain warning msg UI
* lint: rm whitespace EOL
* siwe: rm unit test
* lint: fix whitespace
* Revert "siwe: rm unit test"
This reverts commit c80a4a2e661609c46c76d1e43e05909b6db3f0f5.
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-03-17 15:43:49 -02:30
Dan J Miller
6cc7ab212e
Merge pull request #18122 from MetaMask/Version-v10.26.1
...
Version v10.26.1 RC
2023-03-13 06:00:02 -07:00
Dan Miller
6bc5179290
Update changelog
2023-03-13 09:33:27 -02:30
MetaMask Bot
fd480ad773
Version v10.26.1
2023-03-13 11:49:38 +00:00
João Tavares
cfced8f124
fix: do not run desktop prep build step on master ( #18112 )
2023-03-13 09:13:11 -02:30
Dan J Miller
140e64f108
Merge pull request #17698 from MetaMask/Version-v10.26.0
...
Version v10.26.0 RC
2023-03-10 07:27:12 -08:00
Dan J Miller
150f0ee766
Use replace instead of replace all so that we are compatible with v78 ( #18080 )
...
* Use replace instead of replace all so that we are compatible with v78
* Add unit tests
2023-03-10 13:48:55 +00:00
PeterYinusa
535d55ea8b
bump test coverage
2023-03-09 10:37:54 +00:00
Dan J Miller
7bc2370be5
Use tokenList to get token details, when available, in getTokenStanda… ( #17891 )
...
* Use tokenList to get token details, when available, in getTokenStandardAndDetails
Previously, every call to getTokenStandardAndDetails would fetch data via the provider.
This would result in at least 3 network requests whenever that method is called for an
ERC20 token, contributing to unneccesary loading and lagging in multiple places.
This commit takes advantage of stored data we already have available to avoid the unnecessary
loading.
* Lint fix
* Fix build-quote test
* bump coverage targets
* Pass provider to token-util, for use in ethers Contract module
* Check all possible sources of ERC20 token data before async call to assetsContractController
* Add and update tests
* Update app/scripts/metamask-controller.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* Update app/scripts/metamask-controller.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* Remove unnecessary this.ethQuery changes
* Use metamask-eth-abis instead of human-standard-token-abi in token-util.ts
* Add explanatory comments to getTokenStandardAndDetails
* lint fix
* Cleanup
* fix test
* Update app/scripts/metamask-controller.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* update error message
---------
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2023-03-09 09:59:14 +00:00
Danica Shen
d4bc0a453b
fix(17542): fix fiat currency display in few txn actions ( #18011 )
...
* fix(17542): fix fiat currency display in few txn actions
* fix(17542): refactor e2e tests to change to fia via fixture builder
2023-03-09 09:56:14 +00:00
Dan J Miller
8c550e78e9
patch lavamoat files to make v10.26.0 compatible with v78 of chrome ( #18053 )
...
Co-authored-by: Peter <53189696+PeterYinusa@users.noreply.github.com>
2023-03-08 14:08:24 -03:30
PeterYinusa
98b17d0038
Update CHANGELOG.md
2023-03-07 19:42:11 +00:00
Maarten Zuidhoorn
da8fe7ea62
[FLASK] Temporarily disable JSON-RPC snap e2e test ( #17778 )
...
* Temporarily disable JSON-RPC snap e2e test
* Update outdated snapshot
2023-03-07 18:18:26 +00:00
seaona
7586d1c306
Policy updates
2023-03-07 12:24:41 +01:00
PeterYinusa
b5321c8b4f
bump test coverage
2023-03-06 19:16:30 +00:00
PeterYinusa
64d8f359da
Update the PhishingController to v2 tests
2023-03-06 18:53:30 +00:00
PeterYinusa
ceab2a0b11
Update the PhishingController to v2 and update phishing warning page ( #17835 )
...
The PhishingController has been updated to v2. This release should
dramatically reduce network traffic and double the update speed of the
phishing list.
This was accomplished by combining both of our phishing configurations
into one list (the "stalelist"), then creating a separate list of the
changes just the past few days (the "hotlist"). Now users will download
a smaller list more frequently (every 30 minutes rather than every
hour), whereas the full list is only updated every 4 days.
The combined configuration means that we no longer know which list was
responsible for each block. The phishing warning page has been updated
to dynamically look this information up, to ensure users are still
directed to the correct place to dispute a block. This update to the
phishing warning page also includes the recent redesign.
2023-03-06 18:34:18 +00:00
Danica Shen
353c9927b4
fix(17857): show correctly converted account balance in sign&encrypt windows ( #17973 )
...
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-03-06 11:24:14 +00:00
David Walsh
5933dd1fd7
UX: Icon: Restore missing back chevron in settings ( #17916 )
...
* UX: Icon: Restore missing back chevron in settings
* Update ui/pages/settings/settings.component.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Fixing size and alignment
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-03-06 11:20:02 +00:00
Frederik Bolding
27f322c7db
Selector performance improvements ( #17410 )
...
* Stop checksumming addresses unnecesarily
* Fix lint
2023-03-02 17:56:00 +00:00
ryanml
d0bea6ccd5
Fix incorrect balance in signature request header ( #17829 )
...
* Fix incorrect balance in signature request header
* Fix unit tests
* Fix tests and increase unit test coverage
* actually fix unit tests
---------
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2023-03-02 12:48:19 +00:00
David Walsh
a4f42775b0
UX: Icons: Remove usage of chevron fa- icons ( #17668 )
2023-03-02 12:41:53 +00:00
David Walsh
0ef1d97061
UX: Icons: Stop using fa-address-book ( #17761 )
...
* UX: Icons: Stop using fa-address-book
* Remove locale string
* Fix positioning
2023-03-02 12:40:20 +00:00
David Walsh
de26c9e4a1
UX: Replace all fa-bell instances with Notification icon ( #17524 )
...
* UX: Replace all fa-bell instances with Notification icon
* Fix flask comment fencing
* Fix import error
2023-03-02 12:39:41 +00:00
seaona
44ac0d9567
e2e Send to Multisig Wallet ( #17565 )
...
* e2e Send to Multisig Wallet
* Update test-dapp dependency to 5.4.0
* Added test-dapp update version to yarn lock
* disable ff
---------
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-03-02 11:49:21 +00:00
Jyoti Puri
5691a00e20
Fix state in confirm transaction ( #17838 )
2023-03-02 11:38:53 +00:00
Ariella Vu
1d733194ea
Cleanup: clearTimeout on useEffect for gas estimation and prevent state update on unmounted ConfirmTransactionBase ( #17804 )
2023-03-02 11:38:42 +00:00
Jyoti Puri
49d84140d9
Confirm transaction test ( #17780 )
2023-03-02 11:38:34 +00:00
Ariella Vu
de5ea66d8d
Clean ConfirmTranscationPage component ( #17546 )
...
* ConfirmTransaction: rm unused metricEvent context
* ConfirmTransaction: rm unused mapToProps props:
- unapprovedTxs
- id
* ConfirmTransaction: convert to FC
* ConfirmTransaction: use const ORIGIN_METAMASK
* ConfirmTransaction: rm mapStateToProps
* ConfirmTransaction: mv confirm-transaction ducks
* ConfirmTransaction: mv getContractMethodData duck
* ConfirmTransaction: rm container file
* ConfirmTransaction: use ORIGIN_METAMASK const
* clean: rn totalUnapprovedCount -> totalUnapproved
* clean: reorder ConfirmTransaction & alphabetize
* clean: rn validTransactionId> isValidTransactionId
* clean: rn unconfirmedTransactions > unconfirmedTxs
* ConfirmationTransaction: add tests
* ConfirmTransaction: mv const
* ConfirmTransaction: update jest mock after merge
* ConfirmTransaction: fix from merge fault
* tests: update snapshot after mock-state updates
2023-03-02 11:38:24 +00:00
Ariella Vu
97013d8028
Fix GetEncryptionKey TypeError Cannot destructure property 'msgParams' of 'txData' ( #17808 )
...
* fix ConfirmEncryptionPublicKey txData
* encrypt/decrypt: fix missing txData state
* rm console.log
2023-03-02 10:55:07 +00:00
Brad Decker
591fe1a0a6
avoid mutation of state in signTransaction action ( #17772 )
...
Co-authored-by: ryanml <ryanlanese@gmail.com>
2023-03-02 10:54:55 +00:00
ryanml
2a6bcff4e2
Do not display experiment settings tab when there are no settings to show ( #17765 )
2023-03-02 10:52:58 +00:00
ryanml
970a5d4a77
Fix currency symbol in insufficient balance warning ( #17820 )
2023-03-02 10:48:09 +00:00
Brad Decker
d0aa143222
adds test and fix for conversion to use numeric ( #17758 )
2023-03-02 10:44:43 +00:00
Dan J Miller
48251a4189
Ensure simulation failure warning is shown on all networks and accounts ( #17458 )
...
* Ensure simulation failure warning is shown on all networks and accounts
* Add e2e test to cover failure warning behaviour on non-eip-1559 network
* Fix new e2e test
2023-03-02 10:44:36 +00:00
David Walsh
72ae54bfa3
UX: Icons: Use proper send icon on wallet and token overview pages ( #17720 )
2023-02-15 10:26:21 -07:00
MetaMask Bot
006242f096
Version v10.26.0
2023-02-09 20:41:43 +00:00
ryanml
3948e86fee
Merge pull request #17665 from MetaMask/master-sync
...
Sync `master` with `develop`
2023-02-09 13:35:21 -07:00
George Marshall
a5b908ccf3
Deprecating Typography component ( #17672 )
...
* Deprecating Typography component
* Fixing lint issue
2023-02-09 12:17:25 -08:00
Sam Gbafa
7aad1c9650
remove siwe feature flag ( #17690 )
...
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2023-02-10 02:05:16 +07:00
amerkadicE
0c2af508ef
Fix recent recipient order ( #16346 )
2023-02-09 23:15:52 +05:30
Pedro Figueiredo
26f6ae4c7c
Add testing documentation ( #17411 )
...
* Add testing documentation
* Implement diff filtering by regex
* change to relative import
2023-02-09 17:08:48 +00:00
ryanml
61ff47d71e
Merge branch 'develop' into master-sync
2023-02-09 10:07:39 -07:00
Olusegun Akintayo
6b64572f8d
Fix for error during sending to multisig address ( #17651 )
2023-02-09 10:49:39 -06:00
David Walsh
10be6fcfeb
UX: Update block explorer icon ( #17562 )
...
* UX: Update block explorer icon
* Removing unneeded CSS and some HTML bloat
* Removing unneeded className
* Removing unneeded CSS and reducing HTML bloat for ContractTokenValues
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-02-09 10:21:51 -06:00
ryanml
607b3d67e9
Merge branch 'develop' into master-sync
2023-02-09 04:45:39 -07:00
EresDev
58cd3deed5
fix test of useTransactionDisplayData for different timezone ( #17063 )
...
Co-authored-by: ryanml <ryanlanese@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Fixes https://github.com/MetaMask/metamask-extension/issues/17062
2023-02-08 17:13:39 -06:00
Jyoti Puri
61a7850afc
Sanitising string on signature request pages ( #17571 )
2023-02-09 04:35:52 +05:30
ryanml
c62e825f00
Conflict cleanup 10.25.0 master-sync
2023-02-08 13:54:51 -07:00