diff --git a/contracts/main/LiquidityGauge.vy b/contracts/main/LiquidityGauge.vy index a76496b7..6afa0965 100644 --- a/contracts/main/LiquidityGauge.vy +++ b/contracts/main/LiquidityGauge.vy @@ -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") diff --git a/scripts/deploy_pool.py b/scripts/deploy_pool.py index 84a02610..d7abf1e2 100644 --- a/scripts/deploy_pool.py +++ b/scripts/deploy_pool.py @@ -136,7 +136,7 @@ def deploy_pool(network, url, account, pool_type, fork): elif pool_type == "meta": amm_address = factory.deploy_metapool(*args) - logger.log(f"Deployed Plain pool {amm_address}.") + logger.log(f"Deployed pool {amm_address}.") return amm_address @@ -187,7 +187,7 @@ def deploy_pool_and_gauge(network, url, account, pool_type, fork): elif pool_type == "meta": amm_address = factory.deploy_metapool(*args) - logger.log(f"Deployed Plain pool {amm_address}.") + logger.log(f"Deployed pool {amm_address}.") gauge_address = factory.deploy_gauge(amm_address) @@ -197,7 +197,7 @@ def deploy_pool_and_gauge(network, url, account, pool_type, fork): def main(): fork = False - deploy_pool_and_gauge("ethereum:mainnet", "http://localhost:9090", "FIDDYDEPLOYER", "meta", fork) + deploy_pool_and_gauge("ethereum:mainnet", os.environ["RPC_ETHEREUM"], "FIDDYDEPLOYER", "meta", fork) if __name__ == "__main__":