Skip to content

Commit

Permalink
deploy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
artur committed Aug 16, 2021
1 parent 6c0dc9f commit 5aac6d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion deploy/testnet/020_usdcBuybackDepositary.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ module.exports = migration("UsdcBuybackDepositaryBalanceView", async (d) => {
args: [issuer.address, USDC.address],
});
const [depositary] = await d.deployed("UsdcBuybackDepositaryBalanceView");
await d.send("Issuer", "addDepositary", [depositary.address]);

if (!d.isDev) {
await d.toTimelock("BuybackDepositaryBalanceView");
} else {
await d.send("Issuer", "addDepositary", [depositary.address]);
}
});
4 changes: 2 additions & 2 deletions deploy/testnet/023_profitDistributor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ module.exports = migration("ProfitDistributor", async (d) => {
dayDuration * 7,
],
});
//if (!d.isDev) {
if (!d.isDev) {
await d.toTimelock("ProfitDistributor3");
await d.toTimelock("ProfitDistributor6");
await d.toTimelock("ProfitDistributor12");
//}
}
});

0 comments on commit 5aac6d2

Please sign in to comment.