Skip to content

Commit

Permalink
internalize registry success message into registry_from_ape_deployments.
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Sep 27, 2023
1 parent 6164188 commit b9d82dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion deployment/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def registry_from_ape_deployments(
registry_data.append(entry)

output_filepath = write_registry(data=registry_data, filepath=output_filepath)

print(f"(i) Registry written to {output_filepath}!")
return output_filepath


Expand Down
6 changes: 1 addition & 5 deletions scripts/lynx/deploy_child.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ def main():
global_allow_list,
]

output_filepath = registry_from_ape_deployments(
deployments=deployments, output_filepath=REGISTRY_FILEPATH
)
print(f"(i) Registry written to {output_filepath}!")

registry_from_ape_deployments(deployments=deployments, output_filepath=REGISTRY_FILEPATH)
if VERIFY:
verify_contracts(contracts=deployments)
6 changes: 1 addition & 5 deletions scripts/lynx/deploy_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ def main():
mock_polygon_root,
]

output_filepath = registry_from_ape_deployments(
deployments=deployments, output_filepath=REGISTRY_FILEPATH
)
print(f"(i) Registry written to {output_filepath}!")

registry_from_ape_deployments(deployments=deployments, output_filepath=REGISTRY_FILEPATH)
if VERIFY:
verify_contracts(contracts=deployments)

0 comments on commit b9d82dd

Please sign in to comment.