Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
chore: fixes from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
fedealconada committed Jul 24, 2023
1 parent 0bb7d95 commit e42df3c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/deployments/tasks/20230301-periphery-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ task("20230301-periphery-v2", "Deploys and authenticates Periphery V2").setActio

// Verify adapters
for (let adapter of verifiedDifference) {
console.log("\nOnboarding adapter", adapter);
console.log("\nVerifying adapter", adapter);
const params = await divider.adapterMeta(adapter);
if (params[2].gt(0)) {
await newPeriphery.verifyAdapter(adapter).then(t => t.wait());
Expand Down Expand Up @@ -265,12 +265,12 @@ task("20230301-periphery-v2", "Deploys and authenticates Periphery V2").setActio
oldPeriphery = oldPeriphery.connect(multisigSigner);
divider = divider.connect(multisigSigner);

if (senseAdminMultisigAddress.toUpperCase() !== deployer.toUpperCase()) {
console.log("\nUnset the multisig as an authority on the old Periphery");
if (await oldPeriphery.isTrusted(senseAdminMultisigAddress)) {
await oldPeriphery.setIsTrusted(senseAdminMultisigAddress, false).then(t => t.wait());
}
}
// if (senseAdminMultisigAddress.toUpperCase() !== deployer.toUpperCase()) {
// console.log("\nUnset the multisig as an authority on the old Periphery");
// if (await oldPeriphery.isTrusted(senseAdminMultisigAddress)) {
// await oldPeriphery.setIsTrusted(senseAdminMultisigAddress, false).then(t => t.wait());
// }
// }
}

if ([CHAINS.GOERLI, CHAINS.HARDHAT].includes(chainId)) {
Expand Down

0 comments on commit e42df3c

Please sign in to comment.