diff --git a/scripts/deploy_lynx.py b/scripts/deploy_lynx.py index 4e83bc06..dcbaec4c 100644 --- a/scripts/deploy_lynx.py +++ b/scripts/deploy_lynx.py @@ -36,12 +36,12 @@ def main(): ) LynxRootApplication = deployer.deploy( - *params(project.LynxRootApplication, locals()), + *params.get(project.LynxRootApplication, locals()), publish=PUBLISH, ) LynxTACoChildApplication = deployer.deploy( - *params(project.LynxTACoChildApplication, locals()), + *params.get(project.LynxTACoChildApplication, locals()), publish=PUBLISH, ) @@ -52,13 +52,13 @@ def main(): ) LynxRitualToken = deployer.deploy( - *params(project.LynxRitualToken, locals()), + *params.get(project.LynxRitualToken, locals()), publish=PUBLISH, ) # Lynx Coordinator Coordinator = deployer.deploy( - *params(project.Coordinator, locals()), + *params.get(project.Coordinator, locals()), publish=PUBLISH, ) diff --git a/scripts/deployment.py b/scripts/deployment.py index ddb6035b..8de3a9b6 100644 --- a/scripts/deployment.py +++ b/scripts/deployment.py @@ -89,7 +89,7 @@ def __init__(self, contracts_configuration: OrderedDict): validate_deployment_config(contracts_configuration) self.contracts_configuration = contracts_configuration - def __call__(self, *args, **kwargs): + def get(self, *args, **kwargs): return self.__resolve_constructor_parameters(*args, **kwargs) @classmethod