Skip to content

Commit

Permalink
Don't run new implementation deployment during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chompomonim committed May 16, 2022
1 parent cfd6ac6 commit 067f61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/3_upgrade_consumer_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ const tokenAddr = {
const HERMES_OPERATOR = '0xbb322f4a93f4001d3f2dd07aa957c3e8361e8976'
const MEGA_OWNER = '0xd1beE7b6C062b01815e7F8934Ce264C1c1cd250d'

const deployNewImplementation = true
const deployNewImplementation = false
module.exports = async function (deployer, network, accounts) {
const account = accounts[0]

if (deployNewImplementation) {
// Deploy Channel and Hermes implementations into blockchain
await deployer.deploy(ChannelImplementation, { from: account })
console.log(' :> ChannelImplementation:', ChannelImplementation.address)

await deployer.deploy(HermesImplementation, { from: account })
console.log(' :> HermesImplementation:', HermesImplementation.address)

Expand Down

0 comments on commit 067f61f

Please sign in to comment.