Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zajck committed Oct 3, 2023
1 parent fa3d6e9 commit 55d939c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/migrations/migrate_2.3.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,20 @@ async function migrate(env) {
await hre.run("compile");
}


console.log("Pausing the Seller region...");
let pauseHandler = await getContractAt("IBosonPauseHandler", protocolAddress);

const unPauseTransaction = await pauseHandler.unpause(await getFees(maxPriorityFeePerGas));
await unPauseTransaction.wait(confirmations);

const pauseTransaction = await pauseHandler.pause([PausableRegion.Twins, PausableRegion.Sellers], await getFees(maxPriorityFeePerGas));
const pauseTransaction = await pauseHandler.pause(
[PausableRegion.Twins, PausableRegion.Sellers],
await getFees(maxPriorityFeePerGas)
);

// await 1 block to ensure the pause is effective
await pauseTransaction.wait(confirmations);


let functionNamesToSelector = {};

for (const facet of config.addOrUpgrade) {
Expand Down

0 comments on commit 55d939c

Please sign in to comment.