Skip to content

Commit e4bd6ee

Browse files
authored
chore: rename migration 154 to 152.1 (#32109)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32109?quickstart=1) Renames the migration 154 to 152.1 ## **Related issues** Fixes: None ## **Manual testing steps** Not required ## **Screenshots/Recordings** Not applicable ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
1 parent 068563d commit e4bd6ee

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/scripts/migrations/154.test.ts renamed to app/scripts/migrations/152.1.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TESTNETS, migrate, version } from './154';
1+
import { TESTNETS, migrate, version } from './152.1';
22

33
const mockNetworks = {
44
'bip122:000000000019d6689c085ae165831e93': {
@@ -15,7 +15,7 @@ const mockNetworks = {
1515
},
1616
};
1717

18-
const oldVersion = 153;
18+
const oldVersion = 152;
1919

2020
describe(`migration #${version}`, () => {
2121
it('updates the version metadata', async () => {

app/scripts/migrations/154.ts renamed to app/scripts/migrations/152.1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type VersionedData = {
66
data: Record<string, unknown>;
77
};
88

9-
export const version = 154;
9+
export const version = 152.1;
1010

1111
// Since this is a migration, we don't want to rely on data
1212
// from outside packages that could change. Therefore, we'll

app/scripts/migrations/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ const migrations = [
179179
require('./150'),
180180
require('./151'),
181181
require('./152'),
182+
require('./152.1'),
182183
require('./153'),
183-
require('./154'),
184184
];
185185

186186
export default migrations;

0 commit comments

Comments
 (0)