1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
Commit Graph

16872 Commits

Author SHA1 Message Date
Daniel
c42d3920f8 Show the right "balance needed" value if we fallback from STX to regular Swaps (#19230)
* Show the right balance needed value if we fallback from STX to regular Swaps
* Fix usage of StxErrorTypes
2023-05-25 11:43:21 -07:00
Nicholas Ellul
ea321c964f Revert "limit connections (#18355)" (#19272)
This reverts commit 8d2803c179.
2023-05-25 11:32:05 -02:30
Nidhi Kumari
6a7688b0d3 removed mmi fencing from copy icon in header (#19087)
* removed mmi fencing from copy icon

* updated snapshot
2023-05-24 09:51:37 -02:30
David Walsh
8e3b705fc1 Fix #19139 - Allow user to switch network when loading networking fails (#19175) 2023-05-24 09:51:37 -02:30
Nidhi Kumari
d2dba07eeb UX Multichain: updated border top for activity list (#19176)
* updated border top for activity list

* updated border css via prop

* fixed symbol

* fixed lint errors

* fix conditions

* updated snapshot
2023-05-24 09:51:37 -02:30
Dan J Miller
d746b58c90 Version v10.31.0-beta.0 2023-05-19 16:31:32 -02:30
Dan J Miller
24c564a4c3 Changelog lint fix 2023-05-19 14:20:22 -02:30
Dan J Miller
301c2e1beb Merge remote-tracking branch 'origin/master' into Version-v10.31.0 2023-05-19 13:33:39 -02:30
Thomas Huang
6f21e01beb
Update v10.31.0 changelog (#19147)
* [skip e2e] Update changelog for v10.31.0

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-05-17 14:36:06 -02:30
Dan J Miller
4775a46e20 Run yarn:lavamoat auto for v10.31.0 2023-05-16 17:24:55 -02:30
Dan J Miller
aa555b2943
Merge pull request #19164 from MetaMask/Version-v10.30.4
Version v10.30.4 RC
2023-05-16 09:22:36 -02:30
Mark Stacey
7ed2e5be69 Update changelog 2023-05-15 23:18:45 -02:30
Vinicius Stevam
ebc6f4d0aa Fix fail to reject multiple approval requests (#19050) 2023-05-15 23:15:58 -02:30
MetaMask Bot
1f5ab1e714 Version v10.30.4 2023-05-16 01:45:21 +00:00
Dan J Miller
42197a35d9
Merge pull request #19159 from MetaMask/Version-v10.30.3
Version v10.30.3 RC
2023-05-15 19:58:28 -02:30
Mark Stacey
f74befc8ba Add unit test coverage for lookupNetwork
The changes to network ID validation are now covered by unit tests.
Test cases for the invalid network ID case have been added as well,
since that is covered on `develop` but not here.
2023-05-15 19:27:00 -02:30
Mark Stacey
a98b40089b Update the changelog 2023-05-15 18:44:27 -02:30
Mark Stacey
77ef06ac57 Support hex and number net_version responses
Hex and number responses from the `net_version` request are now
accepted. While most chains return decimal strings for this request,
some chains were returning hex responses instead and failing our
validation for this request (which was added in v10.30.0). This
resolves that problem.

Support for number responses was added because it likely worked in
older versions as well, so support is maintained to avoid similar
problems.

Fixes #19151
2023-05-15 18:42:38 -02:30
MetaMask Bot
2897607288 Version v10.30.3 2023-05-15 21:04:04 +00:00
MetaMask Bot
33fd7876ff
Version v10.30.2 RC (#19109)
* Version v10.30.2

* Ensure the GasDetailsItem component can handle a tx with a maxPriorityFee of 0 (#19102)

* Ensure the GasDetailsItem component can handle a tx with a maxPriorityFee of 0

* Clean up code

* Update ui/components/app/gas-details-item/gas-details-item.js

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

---------

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

* Backport the `@metamask/message-manager` update to v5 (#19110)

The `@metamask/message-manager` update to v5 has been backported to the
v10.30.x release branch. This update includes three breaking changes,
but two (bump in minimum supported Node.js version, and change in type
from `Map` to `Record`) don't affect this project. The only breaking
change requiring changes was the addition of the `getCurrentChainId`
constructor parameter for the TypedMessageManger.

* Update changelog

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-05-12 16:49:37 -02:30
MetaMask Bot
7d62a0bfdd Version v10.31.0 2023-05-05 19:48:35 +00:00
Olaf Tomalka
82f01a6b44
Fix build types not overriding the manifest (#19027) 2023-05-05 18:40:43 +02:00
Brad Decker
b60b9f441f
Bundle size reduction: Upgrading ethereumjs/tx and ethereumjs/common (#18302)
* upgrade ethereumjs/tx and deps

* Yarn dedupe

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-05-05 10:55:41 -05:00
Dan J Miller
828fd35575
Merge pull request #19026 from MetaMask/master-sync
Master sync PR following v10.30.0 and v10.30.1
2023-05-05 11:57:21 -02:30
David Walsh
67dbac6b0d
Fix #18984 - UX: Multichain - Network connection fixes (#19000) 2023-05-05 09:02:28 -05:00
Albert Olivé
33f9d6f480
[MMI] Applied code fencing in transactions and pending tx tracker controllers (#17909)
* Applied code fencing in trabsactions and pending tx tracker controllers

* remove unneeded URL from the comment

* Added test

* Added useful comment

* Fixing code fences

---------

Co-authored-by: António Regadas <apregadas@gmail.com>
2023-05-05 15:58:40 +02:00
Danica Shen
395ac34bed
chore: refactor connect to dapp action in e2e (#19015)
* chore: refactor connect to dapp action in e2e

* chore: refactor 2nd dapp connection

* chore: rename to openDapp
2023-05-05 14:56:08 +01:00
Dhruv
69132e7785
Part of #18714: Replacing Typography consts with enums (#19013)
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-05 13:17:22 +01:00
Albert Olivé
319696b4ef
[MMI] Added compliance details modal and compliance details component (#18118)
* Added compliance details modal and compliance details component

* Finished component

* Fixed test name
2023-05-05 14:07:51 +02:00
Matthew Walsh
f62d8fce61
Use core signature controller (#18654) 2023-05-05 13:05:52 +01:00
Dan Miller
1a55a7e4d1 Merge branch 'develop' into master-sync 2023-05-05 09:32:50 -02:30
Dan J Miller
409759da07
Merge pull request #19022 from MetaMask/Version-v10.30.1
Version v10.30.1 RC
2023-05-05 09:19:33 -02:30
Harsh Shukla
944d39ed3a
Part of #17670: Replace Typography with Text component in smart-transaction-status.js (#18743)
* Update smart-transaction-status.js

* Update smart-transaction-status.js

* Update smart-transaction-status.js again.

* Update smart-transaction-status.js

* Update smart-transaction-status.js

* Update ui/pages/swaps/smart-transaction-status/smart-transaction-status.js

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* Update smart-transaction-status.js

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-05-05 12:15:39 +01:00
Harsh Shukla
9fae71505c
Part of #17670 Replace Typography with Text component for 4 files. (#18793)
* Worked on issue #17670 & #18714 for 4 other files.

* Updated snapshots.

* Update index.test.js.snap

* Update customize-nonce.test.js.snap

* Update signature-request.component.test.js.snap

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-05-05 12:14:09 +01:00
Harsh Shukla
36c4ff15b2
Update interactive-replacement-token-modal.js (#19003) 2023-05-05 12:09:13 +01:00
Dan Miller
18b80df043 Update changelog for v10.30.1 2023-05-05 08:23:24 -02:30
Frederik Bolding
e4e9f3c7ac [FLASK] Disable RPC test (#19011)
* Disable RPC test

* Fix lint
2023-05-05 08:21:47 -02:30
MetaMask Bot
e3a7f91095 Version v10.30.1 2023-05-05 08:21:28 -02:30
Albert Olivé
c7bb906b03
[MMI] Added code fencing in account details modal and selected accounts (#18070)
* Added code fencing in account details modal and selected accounts

* Fixed pipeline issues

* Remove one code fence
2023-05-05 11:28:27 +02:00
Guillaume Roux
f0fd1772ee
[FLASK] Don't show the title on Install/Update when it's loading (#19012) 2023-05-05 10:00:14 +02:00
Nidhi Kumari
6f15795c33
UX Multichain: Fixed UI updates for header (#19006)
* Fixed UI updates for header

* updated padding

* replaced grey avatar border with white color and updated snapshots

---------

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-05-05 10:51:10 +05:30
Dan J Miller
88fa9c10df
Merge pull request #18708 from MetaMask/Version-v10.30.0
Version v10.30.0 RC
2023-05-04 20:57:04 -02:30
Dan J Miller
9062c347db
Update CODEOWNERS: remove requirement for supply-chain team to approv… (#19014)
* Update CODEOWNERS: remove requirement for supply-chain team to approve lavamoat policy changes

* Require extension-devs or supply-chain teams to give approving reviews on PRs that have lavamoat policy changes

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-04 20:56:05 -02:30
David Walsh
5793dd0193
UX: Multichain: Focus on test networks when setting is flipped on (#18996) 2023-05-04 15:52:57 -05:00
Frederik Bolding
2c9306d8ed
Update CODEOWNERS (#19007)
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-05-04 17:32:06 -02:30
Danica Shen
c49fd49b1d
feature(17946): implement mv3 e2e for popup consistency after service worker restarted (#19010)
* feature(17946): implement mv3 e2e for popup consistency after service worker restarts

* feature(17946): fix typo

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-05-04 20:58:39 +01:00
Jyoti Puri
9c63dfca89
Changes in blockaid texts (#19001) 2023-05-04 23:51:46 +05:30
Frederik Bolding
1646ab110e
[FLASK] Disable RPC test (#19011)
* Disable RPC test

* Fix lint
2023-05-04 19:09:37 +02:00
Harsh Shukla
398b0cf452
Part of #17670 & #18714: Replace Typography with Text component: token-allowance.js (#18742)
* Update token-allowance.js

* Remove fontWeight prop in: ui/pages/token-allowance/token-allowance.js

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* Update ui/pages/token-allowance/token-allowance.js

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* Update token-allowance.js

* Update ui/pages/token-allowance/token-allowance.js

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

* Update ui/pages/token-allowance/token-allowance.js

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

---------

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-05-04 22:08:43 +05:30
António Regadas
229906d09a
clean up and adds a code fence (#19005) 2023-05-04 15:57:12 +01:00