MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
289 stars 187 forks source link

Refactor identity state management #1107

Closed Gudahtt closed 6 months ago

Gudahtt commented 1 year ago

Our "identity" related state is spread out amongst many different places:

At each of these layers, methods are exposed to directly interact with this data from anywhere else in our codebase, providing few protections against making changes that result in contradictions between these pieces of state.

So my questions are:

desi commented 6 months ago

The accounts team has implemented a new controller for Identity State management which is the AccountsController and are in the process of migrating the clients to use that. That should cover this issue so closing this one.