Skip to content

Commit

Permalink
ConstructorParameters.__call__ -> .get
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Sep 19, 2023
1 parent 0e81248 commit faed0e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scripts/deploy_lynx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand All @@ -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,
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faed0e5

Please sign in to comment.