diff --git a/.github/workflows/deploy-mainnet-vault-governance.yaml b/.github/workflows/deploy-mainnet-vault-governance.yaml index 8281dd27..c9cd64d3 100644 --- a/.github/workflows/deploy-mainnet-vault-governance.yaml +++ b/.github/workflows/deploy-mainnet-vault-governance.yaml @@ -1,4 +1,4 @@ -name: "[sepolia-deploy] deploy governance for vault" +name: "[mainnet-deploy] deploy governance for vault" on: workflow_dispatch: inputs: @@ -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 diff --git a/script/Strategy.s.sol b/script/Strategy.s.sol index 16906f8f..c8306628 100644 --- a/script/Strategy.s.sol +++ b/script/Strategy.s.sol @@ -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]);