diff --git a/deployments.yaml b/deployments.yaml index 0b88f6d..902d346 100644 --- a/deployments.yaml +++ b/deployments.yaml @@ -130,3 +130,8 @@ xlayer:mainnet: math: '0x1Fd8Af16DC4BEBd950521308D55d0543b6cDF4A1' math_v2_0_0: '0x505d666E4DD174DcDD7FA090ed95554486d2Be44' views: '0x5a8C93EE12a8Df4455BA111647AdA41f29D5CfcC' +zksync:mainnet: + amm: '0x69949489645190D5C4e57a5B9e57705C57033EBb' + factory: '0x24992A09E2257AF325102Cefa1F09E80E9062d49' + math: '0x5AF4Fa25F76491F949C648AC439b1953df78f594' + views: '0xfe30c516c23504B6CF740de513390DC6943888d8' diff --git a/scripts/deploy_infra.py b/scripts/deploy_infra.py index ca773aa..68d7560 100644 --- a/scripts/deploy_infra.py +++ b/scripts/deploy_infra.py @@ -146,14 +146,16 @@ def deploy_infra(network, url, account, fork=False): boa.env.set_eoa(Account.from_key(os.environ[account])) - if fork: - boa.env.fork(url) - logger.log("Forkmode ...") - boa.env.eoa = deploy_utils.FIDDYDEPLOYER # set eoa address here else: - logger.log("Prodmode ...") - boa.set_env(NetworkEnv(url)) - boa.env.add_account(Account.from_key(os.environ[account])) + + if fork: + boa.env.fork(url) + logger.log("Forkmode ...") + boa.env.eoa = deploy_utils.FIDDYDEPLOYER # set eoa address here + else: + logger.log("Prodmode ...") + boa.set_env(NetworkEnv(url)) + boa.env.add_account(Account.from_key(os.environ[account])) CREATE2DEPLOYER = boa.load_abi("abi/create2deployer.json").at( "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2"