diff --git a/migrations/scripts/4_WitnetRequestFactory.js b/migrations/scripts/4_WitnetRequestFactory.js index 4c4480a5..370fa24c 100644 --- a/migrations/scripts/4_WitnetRequestFactory.js +++ b/migrations/scripts/4_WitnetRequestFactory.js @@ -31,7 +31,6 @@ module.exports = async function (deployer, network, [, from]) { let proxy if (utils.isNullAddress(addresses[ecosystem][network]?.WitnetRequestFactory)) { - if (!utils.isNullAddress(create2FactoryAddr) && singletons?.WitnetRequestFactory) { // Deploy the proxy via a singleton factory and a salt... const create2Factory = await Create2Factory.at(create2FactoryAddr) diff --git a/migrations/scripts/5_WitnetRequestBoard.js b/migrations/scripts/5_WitnetRequestBoard.js index 9dcef88b..a7d6c115 100644 --- a/migrations/scripts/5_WitnetRequestBoard.js +++ b/migrations/scripts/5_WitnetRequestBoard.js @@ -30,7 +30,6 @@ module.exports = async function (deployer, network, [, from, reporter]) { const WitnetRequestBoardImplementation = artifacts.require(artifactsName.WitnetRequestBoard) const create2FactoryAddr = addresses[ecosystem][network]?.Create2Factory - let proxy if (utils.isNullAddress(addresses[ecosystem][network]?.WitnetRequestBoard)) { if (!utils.isNullAddress(create2FactoryAddr) && singletons?.WitnetPriceFeeds) { diff --git a/migrations/witnet.settings.js b/migrations/witnet.settings.js index 53c59947..921c99f6 100644 --- a/migrations/witnet.settings.js +++ b/migrations/witnet.settings.js @@ -39,7 +39,7 @@ module.exports = { }, ten: { WitnetRequestBoard: "WitnetRequestBoardTrustableObscuro", - } + }, }, compilers: { default: {