Skip to content

Commit

Permalink
Update merge lynx script by improving naming/annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Sep 26, 2023
1 parent 45e3fa4 commit 7b576a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/merge_lynx_deployment_registries.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
from scripts.constants import ARTIFACTS_DIR
from scripts.registry import merge_registries

lynx_deployment_registry = ARTIFACTS_DIR / "lynx-alpha-13-registry.json"
lynx_child_deployment_registry = ARTIFACTS_DIR / "lynx" / "lynx-alpha-13-child-registry.json"

# mumbai registry from `nucypher/nucypher`
lynx_registry_w_subscription_manager = ARTIFACTS_DIR / "contract_registry.json"

output_registry = ARTIFACTS_DIR / "lynx-alpha-13-merged-registry.json"

merge_registries(
registry_1_filepath=lynx_deployment_registry,
registry_1_filepath=lynx_child_deployment_registry,
registry_2_filepath=lynx_registry_w_subscription_manager,
output_filepath=output_registry,
deprecated_contracts=["StakeInfo"],
Expand Down

0 comments on commit 7b576a0

Please sign in to comment.