Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into feat/keyring-controller-account-added
  • Loading branch information
ccharly committed Dec 12, 2025
commit a5c5f5d79bdec191c8234a706a9ab048e807fe40
18 changes: 0 additions & 18 deletions eslint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,29 +108,11 @@
"count": 1
}
},
"packages/accounts-controller/src/AccountsController.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 14
},
"import-x/namespace": {
"count": 1
}
},
"packages/accounts-controller/src/AccountsController.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 9
}
},
"packages/accounts-controller/src/tests/mocks.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 2
}
},
"packages/accounts-controller/src/utils.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 3
}
},
"packages/address-book-controller/src/AddressBookController.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ import {
EthScope,
KeyringAccountEntropyTypeOption,
} from '@metamask/keyring-api';
import {
KeyringControllerState,
KeyringTypes,
} from '@metamask/keyring-controller';
import { KeyringTypes } from '@metamask/keyring-controller';
import type { InternalAccount } from '@metamask/keyring-internal-api';
import { MOCK_ANY_NAMESPACE, Messenger } from '@metamask/messenger';
import type {
Expand Down
13 changes: 0 additions & 13 deletions packages/accounts-controller/src/AccountsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,19 +259,6 @@ export const EMPTY_ACCOUNT = {
},
};

/**
* A patch representing a keyring state change.
*/
type StatePatch = {
previous: Record<string, InternalAccount>;
added: {
address: string;
keyring: KeyringObject;
}[];
updated: InternalAccount[];
removed: InternalAccount[];
};

/**
* Controller that manages internal accounts.
* The accounts controller is responsible for creating and managing internal accounts.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.