Update the publication_endpoint for the contract registry

pull/1692/head
tuxxy 2020-02-14 20:45:28 +01:00
parent 6fc9283aca
commit 623f39bdb1
1 changed files with 2 additions and 2 deletions

View File

@ -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]: