1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey 1112277cd6
Remove seedWords completely from metamask state (#6920)
`seedWords` used to be stored on the metamask state temporarily at
certain points. This hasn't been the case since #5994, but references
to this state remained. All of the logic remained for correctly updating
these `seedWords`, handling them during navigation, and scrubbing them
from the state.

However the state was never updated in practice. The `seedWords` are
still returned by `verifySeedPhrase`, and they're still stored in
component state in a few places. But they aren't ever set in the Redux
metadata state or the Preferences controller.

All references to this state have been removed, along with any logic
for interacting with this state. A few unused actions were removed as
well.
2019-07-26 10:35:21 -03:00
..
account-import-strategies
controllers Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00
lib
migrations
platforms
background.js Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00
chromereload.js
contentscript.js
createStandardProvider.js
edge-encryptor.js
first-time-state.js
inpage.js
metamask-controller.js Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00
phishing-detect.js
popup-core.js
README.md
ui.js

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples