Skip to content

Commit

Permalink
Update deploy child script to transfer admin role to treasury guild o…
Browse files Browse the repository at this point in the history
…n polygon.
  • Loading branch information
derekpierre committed Nov 21, 2023
1 parent a7eff3b commit a0eb3e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/mainnet/deploy_child.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit a0eb3e0

Please sign in to comment.