diff --git a/packages/dai-plugin-migrations/src/MigrationService.js b/packages/dai-plugin-migrations/src/MigrationService.js index fbb714161..92886ecc0 100644 --- a/packages/dai-plugin-migrations/src/MigrationService.js +++ b/packages/dai-plugin-migrations/src/MigrationService.js @@ -7,7 +7,7 @@ import GlobalSettlementDaiRedeemer from './migrations/GlobalSettlementDaiRedeeme import SaiToDai from './migrations/SaiToDai'; import MkrRedeemer from './migrations/MkrRedeemer'; import DaiToSai from './migrations/DaiToSai'; -const { SINGLE_TO_MULTI_CDP, SAI_TO_DAI, DAI_TO_SAI } = Migrations; +const { SINGLE_TO_MULTI_CDP, SAI_TO_DAI, DAI_TO_SAI, MKR_REDEEMER } = Migrations; const migrations = { [SINGLE_TO_MULTI_CDP]: SingleToMultiCdp, @@ -48,7 +48,8 @@ export default class MigrationService extends PublicService { SINGLE_TO_MULTI_CDP ).check(), [SAI_TO_DAI]: await this.getMigration(SAI_TO_DAI).check(), - [DAI_TO_SAI]: await this.getMigration(DAI_TO_SAI).check() + [DAI_TO_SAI]: await this.getMigration(DAI_TO_SAI).check(), + [MKR_REDEEMER]: await this.getMigration(MKR_REDEEMER).check() }; } diff --git a/packages/dai-plugin-migrations/test/MigrationService.spec.js b/packages/dai-plugin-migrations/test/MigrationService.spec.js index 222f48599..bf8d8b0f9 100644 --- a/packages/dai-plugin-migrations/test/MigrationService.spec.js +++ b/packages/dai-plugin-migrations/test/MigrationService.spec.js @@ -75,6 +75,7 @@ test('runAllChecks', async () => { expect(result).toEqual({ [Migrations.SAI_TO_DAI]: expect.anything(), [Migrations.DAI_TO_SAI]: expect.anything(), + [Migrations.MKR_REDEEMER]: expect.anything(), [Migrations.SINGLE_TO_MULTI_CDP]: {} }); expect(result[Migrations.SAI_TO_DAI].eq(0)).toBeTruthy();