Skip to content

Commit

Permalink
Remove non-controllers from EngineState
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Aug 1, 2024
1 parent a9204a5 commit 9e2449e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/core/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import {
AddressBookControllerEvents,
AddressBookControllerState,
} from '@metamask/address-book-controller';
import { BaseState } from '@metamask/base-controller';
import { ComposableController } from '@metamask/composable-controller';
import {
KeyringController,
Expand Down Expand Up @@ -121,7 +120,6 @@ import {
SnapsRegistryState,
SnapControllerEvents,
SnapControllerActions,
PersistedSnapControllerState,
SnapsRegistryMessenger,
SnapsRegistryActions,
SnapsRegistryEvents,
Expand Down Expand Up @@ -347,7 +345,6 @@ type Permissions = PermissionsByRpcMethod[keyof PermissionsByRpcMethod];
export type EngineState = {
AccountTrackerController: AccountTrackerControllerState;
AddressBookController: AddressBookControllerState;
AssetsContractController: BaseState;
NftController: NftControllerState;
TokenListController: TokenListState;
CurrencyRateController: CurrencyRateState;
Expand All @@ -362,10 +359,6 @@ export type EngineState = {
SwapsController: SwapsState;
GasFeeController: GasFeeState;
TokensController: TokensControllerState;
TokenDetectionController: BaseState;
NftDetectionController: BaseState;
///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps)
SnapController: PersistedSnapControllerState;
SnapsRegistry: SnapsRegistryState;
SubjectMetadataController: SubjectMetadataControllerState;
AuthenticationController: AuthenticationController.AuthenticationControllerState;
Expand Down Expand Up @@ -2010,7 +2003,6 @@ export default {
const {
AccountTrackerController,
AddressBookController,
AssetsContractController,
NftController,
TokenListController,
CurrencyRateController,
Expand All @@ -2026,8 +2018,6 @@ export default {
SwapsController,
GasFeeController,
TokensController,
TokenDetectionController,
NftDetectionController,
///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps)
SnapController,
SubjectMetadataController,
Expand Down

0 comments on commit 9e2449e

Please sign in to comment.