Skip to content

Commit

Permalink
Merge pull request #138 from skellet0r/feat/update-deploy-script
Browse files Browse the repository at this point in the history
Update deploy script to use new GaugeV3
  • Loading branch information
iamdefinitelyahuman authored May 29, 2021
2 parents 5c079e4 + 3f81510 commit b0bbf77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion brownie-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ reports:
- contracts/gauges/*.*

dependencies:
- curvefi/curve-dao-contracts@1.1.0
- curvefi/curve-dao-contracts@1.2.0

hypothesis:
phases:
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit b0bbf77

@fun4cash
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x7E32628266A4F92f54345aBd4A9F1860A48258F4

Please sign in to comment.