Skip to content

Commit

Permalink
Merge pull request curvefi#35 from curvefi/fix/gauge_manager
Browse files Browse the repository at this point in the history
Fix/gauge manager
  • Loading branch information
bout3fiddy authored Nov 10, 2023
2 parents 4902993 + 1e08ee5 commit 012914d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/main/LiquidityGauge.vy
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __init__(_lp_token: address):
"""
self.lp_token = _lp_token
self.factory = msg.sender
self.manager = msg.sender
self.manager = tx.origin

symbol: String[32] = ERC20Extended(_lp_token).symbol()
name: String[64] = concat("Curve.fi ", symbol, " Gauge Deposit")
Expand Down
7 changes: 4 additions & 3 deletions scripts/deploy_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"plain_amm": "0x296d2b5c23833a70d07c8fcbb97d846c1ff90ddd",
"meta_amm": "0xa12A87c73718a34CD8601b5022B2C6C359142585",
"factory": "0xfb37b8D939FFa77114005e61CFc2e543d6F49A81",
"gauge": "0x64891ab20392a029c0f231656ff13c5ee64b730c",
"gauge": "",
},
"ethereum:mainnet": {
"math": "0x20D1c021525C85D9617Ccc64D8f547d5f730118A",
"views": "0x87DD13Dd25a1DBde0E1EdcF5B8Fa6cfff7eABCaD",
"plain_amm": "0x3E3B5F27bbf5CC967E074b70E9f4046e31663181",
"meta_amm": "0x19bd1AB34d6ABB584b9C1D5519093bfAA7f6c7d2",
"factory": "0x6A8cbed756804B16E05E741eDaBd5cB544AE21bf",
"gauge": "0xF5617D4f7514bE35fce829a1C19AE7f6c9106979",
"gauge": "0xf2eff2Cd0d9C82b7b2f17FbBed703fA7931dB1da",
},
# Layer 2
"arbitrum:mainnet": {
Expand Down Expand Up @@ -193,6 +193,7 @@ def deploy_infra(network, url, account, fork=False):
if fork:
boa.env.fork(url)
logger.log("Forkmode ...")
boa.env.eoa = deploy_utils.FIDDYDEPLOYER
else:
logger.log("Prodmode ...")
boa.set_env(NetworkEnv(url))
Expand Down Expand Up @@ -260,7 +261,7 @@ def deploy_infra(network, url, account, fork=False):
def main():

deploy_infra(
"ethereum:mainnet",
"ethereum:sepolia",
os.environ["RPC_ETHEREUM"],
"FIDDYDEPLOYER",
fork=False,
Expand Down

0 comments on commit 012914d

Please sign in to comment.