From 623f39bdb198ccbe77f3a2b4e78c89859af34d8e Mon Sep 17 00:00:00 2001 From: tuxxy Date: Fri, 14 Feb 2020 20:45:28 +0100 Subject: [PATCH] Update the publication_endpoint for the contract registry --- nucypher/blockchain/eth/registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nucypher/blockchain/eth/registry.py b/nucypher/blockchain/eth/registry.py index 09194ffaf..f4e1c596a 100644 --- a/nucypher/blockchain/eth/registry.py +++ b/nucypher/blockchain/eth/registry.py @@ -67,14 +67,14 @@ class CanonicalRegistrySource(ABC): class GithubRegistrySource(CanonicalRegistrySource): - _PUBLICATION_REPO = "nucypher/ethereum-contract-registry" + _PUBLICATION_REPO = "nucypher/nucypher" _BASE_URL = f'https://raw.githubusercontent.com/{_PUBLICATION_REPO}' name = "GitHub Registry Source" is_primary = True def get_publication_endpoint(self) -> str: - url = f'{self._BASE_URL}/master/{self.network}/{self.registry_name}' + url = f'{self._BASE_URL}/master/registries/{self.network}/{self.registry_name}' return url def fetch_latest_publication(self) -> Union[str, bytes]: