Skip to content

Commit

Permalink
fix: remove testing leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Feb 28, 2024
1 parent 803b66d commit 8d8d70b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/contracts/deploy/30_upgrade_repo/31_upgrade_repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

// If this is a local deployment and the deployer doesn't have `UPGRADE_REPO_PERMISSION_ID` permission
// we impersonate the management DAO for integration testing purposes.
const signer = deployer;
isDeployerUpgrader || !isLocal(hre)
? deployer
: await impersonatedManagementDaoSigner(hre);
const signer =
isDeployerUpgrader || !isLocal(hre)
? deployer
: await impersonatedManagementDaoSigner(hre);

// Check if the signer has the permission to upgrade the plugin repo
if (
Expand Down Expand Up @@ -185,7 +185,7 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
`PluginRepo '${ensDomain}' (${pluginRepo.address}) has already been upgraded to
the current protocol version v${target[0]}.${target[1]}.${target[2]}. Skipping upgrade...`
);
return false;
return true;
}

return false;
Expand Down

0 comments on commit 8d8d70b

Please sign in to comment.