Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update accounts deps + peer deps #30011

Closed
wants to merge 22 commits into from
Closed
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
test: fix scopes
ccharly committed Jan 30, 2025
commit 93c285bbf67b93c0ca25ffcaec57523310d8c9c5
6 changes: 3 additions & 3 deletions app/scripts/controllers/alert-controller.test.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
* @jest-environment node
*/
import { ControllerMessenger } from '@metamask/base-controller';
import { EthAccountType } from '@metamask/keyring-api';
import { EthAccountType, EthScope } from '@metamask/keyring-api';
import {
AlertController,
AllowedActions,
@@ -163,8 +163,8 @@ describe('AlertController', () => {
address: '0x1234567',
options: {},
methods: [],
scopes: ['eip155'],
type: 'eip155:eoa',
scopes: [EthScope.Eoa],
type: EthAccountType.Eoa,
metadata: {
name: '',
keyring: {
4 changes: 2 additions & 2 deletions app/scripts/lib/snap-keyring/snap-keyring.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ControllerMessenger } from '@metamask/base-controller';
import { EthAccountType } from '@metamask/keyring-api';
import { EthAccountType, EthScope } from '@metamask/keyring-api';
import { InternalAccount } from '@metamask/keyring-internal-api';
import { SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES } from '../../../../shared/constants/app';
import {
@@ -40,7 +40,7 @@ const mockAccount = {
id: '3afa663e-0600-4d93-868a-61c2e553013b',
address,
methods: [],
scopes: ['eip155'],
scopes: [EthScope.Eoa],
options: {},
};
const mockInternalAccount = {