From be8c2a371cdf93809a6e1dd29bb907ed7b80bfcb Mon Sep 17 00:00:00 2001 From: Edward Amor Date: Tue, 25 May 2021 10:35:52 -0400 Subject: [PATCH 1/2] chore: update curve-dao-contracts dependency to 1.2.0 New gauges bby --- brownie-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brownie-config.yaml b/brownie-config.yaml index d5fedaed..19e11340 100644 --- a/brownie-config.yaml +++ b/brownie-config.yaml @@ -11,7 +11,7 @@ reports: - contracts/gauges/*.* dependencies: - - curvefi/curve-dao-contracts@1.1.0 + - curvefi/curve-dao-contracts@1.2.0 hypothesis: phases: From 3f81510fedeb86386fed04dfdc5a18fbe7a542df Mon Sep 17 00:00:00 2001 From: Edward Amor Date: Tue, 25 May 2021 10:41:08 -0400 Subject: [PATCH 2/2] feat: update deploy script use GaugeV3 moving forward --- scripts/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.py b/scripts/deploy.py index b51f026d..4a0a3115 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -75,8 +75,8 @@ def main(): token.set_minter(swap, _tx_params()) # deploy the liquidity gauge - LiquidityGaugeV2 = load_project("curvefi/curve-dao-contracts@1.1.0").LiquidityGaugeV2 - LiquidityGaugeV2.deploy(token, MINTER, GAUGE_OWNER, _tx_params()) + LiquidityGaugeV3 = load_project("curvefi/curve-dao-contracts@1.2.0").LiquidityGaugeV3 + LiquidityGaugeV3.deploy(token, MINTER, GAUGE_OWNER, _tx_params()) # deploy the zap zap_name = next((i.stem for i in contracts_path.glob(f"{POOL_NAME}/Deposit*")), None)