From a0eb3e0021cf7141b13cb8c13f1bee806bf935dc Mon Sep 17 00:00:00 2001 From: derekpierre Date: Mon, 20 Nov 2023 20:01:33 -0500 Subject: [PATCH] Update deploy child script to transfer admin role to treasury guild on polygon. --- scripts/mainnet/deploy_child.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/mainnet/deploy_child.py b/scripts/mainnet/deploy_child.py index 9717451f..75e715fb 100644 --- a/scripts/mainnet/deploy_child.py +++ b/scripts/mainnet/deploy_child.py @@ -5,7 +5,7 @@ from deployment.constants import CONSTRUCTOR_PARAMS_DIR from deployment.params import Deployer -VERIFY = False # FIXMEEEEEEE +VERIFY = False # TODO: switch to True for mainnet deployment? CONSTRUCTOR_PARAMS_FILEPATH = CONSTRUCTOR_PARAMS_DIR / "mainnet" / "child.yml" # Threshold Network - References: @@ -34,7 +34,11 @@ def main(): # Grant INITIATOR_ROLE to Integrations Guild and BetaProgramInitiator INITIATOR_ROLE = coordinator.INITIATOR_ROLE() deployer.transact(coordinator.grantRole, INITIATOR_ROLE, TREASURY_GUILD_ON_POLYGON) + # Change Coordinator admin to Council on Polygon + # TODO: David is that what you intended by the above comment? + # Not sure the length of the default delay in transferring admin role + deployer.transact(coordinator.beginDefaultAdminTransfer, TREASURY_GUILD_ON_POLYGON) global_allow_list = deployer.deploy(project.GlobalAllowList)