Skip to content

Commit

Permalink
chore: fmt!
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Mar 21, 2024
1 parent 151ce5e commit 5c0b949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion migrations/scripts/5_WitnetRequestBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = async function (deployer, network, [, from, reporter]) {
const artifactNames = artifactsName.WitnetRequestBoard.split(":")
const bypass = artifactNames.length > 1
const implName = artifactNames[0]

const WitnetRequestBoardImplementation = artifacts.require(implName)
const create2FactoryAddr = addresses[ecosystem][network]?.Create2Factory

Expand Down
4 changes: 2 additions & 2 deletions migrations/scripts/7_WitnetPriceFeeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ module.exports = async function (deployer, network, [, from]) {
["y", "yes"].includes((await utils.prompt(" > Upgrade the proxy ? [y/N] ")).toLowerCase().trim())
) {
try {
const tx = await proxy.upgradeTo(router.address, "0x", {
from: bypass ? '0xF121b71715E71DDeD592F1125a06D4ED06F0694D' : from
const tx = await proxy.upgradeTo(router.address, "0x", {
from: bypass ? "0xF121b71715E71DDeD592F1125a06D4ED06F0694D" : from,
})
console.info(" => transaction hash :", tx.receipt.transactionHash)
console.info(" => transaction gas :", tx.receipt.gasUsed)
Expand Down

0 comments on commit 5c0b949

Please sign in to comment.