diff --git a/moonworm/crawler/moonstream_ethereum_state_provider.py b/moonworm/crawler/moonstream_ethereum_state_provider.py index a308dd1..4197504 100644 --- a/moonworm/crawler/moonstream_ethereum_state_provider.py +++ b/moonworm/crawler/moonstream_ethereum_state_provider.py @@ -15,9 +15,9 @@ try: ) except ImportError: print("this feature requires moonstreamdb which is not installed") - print("to enable, run: `pip install -e[moonstream]`") + print("to enable, run: `pip install moonworm[moonstream]`") raise ImportError( - "moonstreamdb not installed, to install, run: `pip install -e[moonstream]`" + "moonstreamdb not installed, to install, run: `pip install moonworm[moonstream]`" ) from sqlalchemy.orm import Session diff --git a/moonworm/crawler/networks.py b/moonworm/crawler/networks.py index eb9d287..fe8a64b 100644 --- a/moonworm/crawler/networks.py +++ b/moonworm/crawler/networks.py @@ -15,11 +15,12 @@ try: ) except ImportError: print("this feature requires moonstreamdb which is not installed") - print("to enable, run: `pip install -e[moonstream]`") + print("to enable, run: `pip install moonworm[moonstream]`") raise ImportError( - "moonstreamdb not installed, to install, run: `pip install -e[moonstream]`" + "moonstreamdb not installed, to install, run: `pip install moonworm[moonstream]`" ) + from .utils import Network MODELS: Dict[Network, Dict[str, Base]] = { diff --git a/moonworm/cu_watch.py b/moonworm/cu_watch.py index 90b73ba..c7058a7 100644 --- a/moonworm/cu_watch.py +++ b/moonworm/cu_watch.py @@ -21,7 +21,7 @@ from web3.middleware import geth_poa_middleware from moonworm.crawler.moonstream_ethereum_state_provider import ( MoonstreamEthereumStateProvider, ) -from moonworm.crawler.networks import Network +from moonworm.crawler.utils import Network from .contracts import CU, ERC721 from .crawler.ethereum_state_provider import EthereumStateProvider