mirror of https://github.com/nucypher/nucypher.git
Iterate from @dnunez feedback
parent
2eb94b7d7a
commit
3f23d3958c
|
@ -74,7 +74,7 @@ class GithubRegistrySource(CanonicalRegistrySource):
|
|||
is_primary = True
|
||||
|
||||
def get_publication_endpoint(self) -> str:
|
||||
url = f'{self._BASE_URL}/master/registries/{self.network}/{self.registry_name}'
|
||||
url = f'{self._BASE_URL}/master/nucypher/blockchain/eth/contract_registry/{self.network}/{self.registry_name}'
|
||||
return url
|
||||
|
||||
def fetch_latest_publication(self) -> Union[str, bytes]:
|
||||
|
@ -97,7 +97,8 @@ class GithubRegistrySource(CanonicalRegistrySource):
|
|||
|
||||
|
||||
class InPackageRegistrySource(CanonicalRegistrySource):
|
||||
_REGISTRY_DIR = os.path.join(BASE_DIR, "registries")
|
||||
_HERE = os.path.abspath(os.path.dirname(__file__))
|
||||
_REGISTRY_DIR = os.path.join(_HERE, "contract_registry")
|
||||
|
||||
name = "In-Package Registry Source"
|
||||
is_primary = False
|
||||
|
|
7
setup.py
7
setup.py
|
@ -106,11 +106,12 @@ EXTRAS_REQUIRE = {'development': TESTS_REQUIRE,
|
|||
'docs': DOCS_REQUIRE,
|
||||
'benchmark': BENCHMARKS_REQUIRE}
|
||||
|
||||
PACKAGE_DATA = ['cli/templates',
|
||||
'network/templates/basic_status.j2',
|
||||
PACKAGE_DATA = ['network/templates/basic_status.j2',
|
||||
'network/nicknames/web_colors.json',
|
||||
'blockchain/eth/contract_registry/mainnet/*',
|
||||
'blockchain/eth/contract_registry/goerli/*',
|
||||
'blockchain/eth/contract_registry/cassandra/*',
|
||||
'blockchain/eth/contract_registry/frances/*',
|
||||
'blockchain/eth/contract_registry/miranda/*',
|
||||
'blockchain/eth/sol/source/contracts/*',
|
||||
'blockchain/eth/sol/source/contracts/lib/*',
|
||||
'blockchain/eth/sol/source/contracts/proxy/*',
|
||||
|
|
Loading…
Reference in New Issue