Skip to content

Commit

Permalink
add more detail to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
owencraston committed Feb 13, 2025
1 parent 4f4fb9c commit 0e35bd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/store/migrations/067.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import { migration66 } from './066';
* Migration for ensuring that all internal accounts have the correct scopes
* Re-uses logic from migration 66
* We have to re-run 66 as 67 because the values for the scopes changed
* and users who already had 66 ran would not have the updated scope values
* and users who already had 66 ran would not have the updated scope values.
* The migration 66 was initially injecting a CAIP-2 namespace (eip155 for EVM EOA) rather than a full scope (eip155:0).
* We now require full scopes (namespace:chain-id) for all Internal Accounts.
* See https://github.com/MetaMask/accounts/pull/165 for more details.
*/
export default function migrate(state: unknown) {
return migration66(state, 67);
Expand Down

0 comments on commit 0e35bd9

Please sign in to comment.