From 19c54d9b2e5e60d751fd88907725b2264ba74f94 Mon Sep 17 00:00:00 2001 From: Ethan Date: Tue, 10 Dec 2019 20:19:19 -0500 Subject: [PATCH] Set mainnet as default network for old mkr config --- packages/dai-plugin-migrations/package.json | 2 +- packages/dai-plugin-migrations/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'),