You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems related how the network name for the artifacts are determined:
This is an example for mumbai, where artifacts have mumbai as network name (coming from truffle config) and sdk-py is looking for them as development in this case.
2021-08-26 08:19:49,955 - nevermined_gateway.myapp - ERROR - Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
...
File "/nevermined-gateway/nevermined_gateway/run.py", line 43, in root_info
keeper = keeper_instance()
File "/nevermined-gateway/nevermined_gateway/util.py", line 239, in keeper_instance
return Keeper.get_instance(external_contracts=external_contracts)
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/keeper.py", line 140, in get_instance
return Keeper(artifacts_path, contract_names, external_contracts)
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/keeper.py", line 85, in __init__
self.did_registry = DIDRegistry.get_instance()
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/contract_base.py", line 46, in get_instance
return cls(cls.CONTRACT_NAME, dependencies)
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/contract_base.py", line 33, in __init__
self.contract = dependencies['ContractHandler'].get(contract_name)
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/contract_handler.py", line 32, in get
return (ContractHandler._contracts.get(name) or ContractHandler._load(name))[0]
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/contract_handler.py", line 83, in _load
contract_definition = ContractHandler.get_contract_dict_by_name(
File "/usr/local/lib/python3.8/site-packages/contracts_lib_py/contract_handler.py", line 138, in get_contract_dict_by_name
raise FileNotFoundError(
FileNotFoundError: Keeper contract DIDRegistry file not found in /usr/local/artifacts using network name development
No description provided.
The text was updated successfully, but these errors were encountered: