Skip to content

Commit

Permalink
chore: attend pr review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Mar 20, 2024
1 parent 9881f66 commit 75d2cbf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion migrations/scripts/4_WitnetRequestFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion migrations/scripts/5_WitnetRequestBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion migrations/witnet.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
},
ten: {
WitnetRequestBoard: "WitnetRequestBoardTrustableObscuro",
}
},
},
compilers: {
default: {
Expand Down

0 comments on commit 75d2cbf

Please sign in to comment.