Skip to content

Commit 0e35bd9

Browse files
committed
add more detail to comment
1 parent 4f4fb9c commit 0e35bd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/store/migrations/067.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { migration66 } from './066';
44
* Migration for ensuring that all internal accounts have the correct scopes
55
* Re-uses logic from migration 66
66
* We have to re-run 66 as 67 because the values for the scopes changed
7-
* and users who already had 66 ran would not have the updated scope values
7+
* and users who already had 66 ran would not have the updated scope values.
8+
* The migration 66 was initially injecting a CAIP-2 namespace (eip155 for EVM EOA) rather than a full scope (eip155:0).
9+
* We now require full scopes (namespace:chain-id) for all Internal Accounts.
10+
* See https://github.com/MetaMask/accounts/pull/165 for more details.
811
*/
912
export default function migrate(state: unknown) {
1013
return migration66(state, 67);

0 commit comments

Comments
 (0)