Skip to content

Commit

Permalink
Includes GlobalAllowList in lynx deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Sep 21, 2023
1 parent ee5f5e3 commit 442709a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions deployments/constructor_params/lynx-alpha-13-params.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@
"_admin": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600",
"_currency": "$LynxRitualToken",
"_feeRatePerSecond": 1
},
"GlobalAllowList": {
"_coordinator": "$Coordinator",
"_admin": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600"
}
}
6 changes: 5 additions & 1 deletion scripts/deploy_lynx.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ def main():

LynxTACoChildApplication.setCoordinator(Coordinator.address, sender=deployer)

deployments = [LynxRootApplication, LynxTACoChildApplication, LynxRitualToken, Coordinator]
GlobalAllowList = deployer.deploy(
*params.get(project.GlobalAllowList, locals()), **params.get_kwargs()
)

deployments = [LynxRootApplication, LynxTACoChildApplication, LynxRitualToken, Coordinator, GlobalAllowList]

registry_names = {
LynxRootApplication.contract_type.name: "TACoApplication",
Expand Down

0 comments on commit 442709a

Please sign in to comment.