Skip to content

Commit

Permalink
event emitter pair vault contract
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Nov 28, 2024
1 parent a7a236b commit 579e70d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-mainnet-vault-governance.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "[sepolia-deploy] deploy governance for vault"
name: "[mainnet-deploy] deploy governance for vault"
on:
workflow_dispatch:
inputs:
Expand All @@ -23,7 +23,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: sepolia
name: mainnet
url: https://term-finance.github.io/yearn-v3-term-vault/
steps:
- uses: actions/checkout@master
Expand Down
7 changes: 3 additions & 4 deletions script/Strategy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,9 @@ contract DeployStrategy is Script {
console.log("set pending management");
console.log(strategyManagement);

if (isTest) {
eventEmitter.pairVaultContract(address(strategy));
console.log("paired strategy contract with event emitter");
}
eventEmitter.pairVaultContract(address(strategy));
console.log("paired strategy contract with event emitter");


for (uint256 i = 0; i < collateralTokens.length; i++) {
strategy.setCollateralTokenParams(collateralTokens[i], minCollateralRatios[i]);
Expand Down

0 comments on commit 579e70d

Please sign in to comment.