1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/helpers/utils
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
..
__snapshots__ Final conversion of tests from enzyme to @testing-library/react (#16862) 2023-01-17 07:51:35 -08:00
optimism Update quote selection for Optimism (#16998) 2022-12-21 20:59:34 +01:00
accounts.js Prevent account name collisions (#16752) 2022-12-22 11:27:31 -06:00
build-types.js BETA - Update logo imagery (#16304) 2022-11-09 10:58:47 -06:00
common.util.js
common.util.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
confirm-tx.util.js
confirm-tx.util.test.js
conversions.util.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
conversions.util.test.js Only check if a user has enough token balance before calling STX (#15218) 2022-08-09 12:56:52 -05:00
export-utils.js Fix 3box replacement for MV3 (#15851) 2022-09-29 07:34:20 +04:00
formatters.js
gas.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
gas.test.js Degrade gracefully when gas API is down (#13865) 2022-03-11 11:59:58 -07:00
hardware.js
i18n-helper.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
i18n-helper.test.js Final conversion of tests from enzyme to @testing-library/react (#16862) 2023-01-17 07:51:35 -08:00
icon-factory.js Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF (#15138) 2022-08-09 22:56:25 -02:30
ipfs.js Privacy - Show default selected network after a custom network has been added during onboarding (#16789) 2022-12-08 10:42:23 -06:00
is-mobile-view.js Update media query instances (#15068) 2022-08-04 09:03:02 -05:00
metric.test.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
metrics.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
moonpay.js Ability to buy tokens with Moonpay (#15924) 2022-09-23 09:38:40 -07:00
moonpay.test.js Ability to buy tokens with Moonpay (#15924) 2022-09-23 09:38:40 -07:00
permission.js [FLASK] Add snap alerts and prompts via snap_dialog RPC method (#16048) 2022-12-01 16:46:06 +01:00
settings-search.js Add snaps view search (#14419) 2022-04-19 11:08:09 -04:00
settings-search.test.js Disable eth_sign by default, allow users to toggle it back on (#17308) 2023-02-06 19:43:36 +00:00
token-util.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
transactions.util.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
transactions.util.test.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
tx-helper.js
tx-helper.test.js migrate network constants to typescript (#15610) 2022-09-14 09:55:31 -05:00
util.js Migrate to new controller packages (#16547) 2022-11-24 16:29:07 -03:30
util.test.js Fix message on sign typed data v4 screen (#16552) 2022-11-18 10:04:52 -06:00
webcam-utils.js