diff --git a/packages/dai-plugin-migrations/package.json b/packages/dai-plugin-migrations/package.json index b0ea5da19..f87783e8f 100644 --- a/packages/dai-plugin-migrations/package.json +++ b/packages/dai-plugin-migrations/package.json @@ -1,7 +1,7 @@ { "name": "@makerdao/dai-plugin-migrations", "description": "Plugin to add migrations to dai.js", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "main": "dist", "scripts": { diff --git a/packages/dai-plugin-migrations/src/index.js b/packages/dai-plugin-migrations/src/index.js index 05ca59802..f6b0908eb 100644 --- a/packages/dai-plugin-migrations/src/index.js +++ b/packages/dai-plugin-migrations/src/index.js @@ -52,7 +52,7 @@ function overrideContractAddresses(network, addressOverrides, contracts) { export const MDAI_1 = createCurrency('MDAI_1'); export default { - addConfig: (_, { network, addressOverrides } = {}) => { + addConfig: (_, { network = 'mainnet', addressOverrides } = {}) => { const oldMkrData = { currency: OLD_MKR, abi: require('../contracts/abis/ERC20.json'),