diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8caa5067..87ca3e02 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: rev: v0.910 hooks: - id: 'mypy' + language_version: python3.9 additional_dependencies: - 'pydantic' - 'types-requests' diff --git a/cli.py b/cli.py index b5a6674e..bb2a31af 100644 --- a/cli.py +++ b/cli.py @@ -41,6 +41,7 @@ async def inspect_block_command(block_number: int, rpc: str): trace_db_session = get_trace_session() inspector = MEVInspector(rpc) + logger.info(f"Using the RPC node {rpc}") await inspector.inspect_single_block( inspect_db_session=inspect_db_session, @@ -94,6 +95,8 @@ async def inspect_many_blocks_command( max_concurrency=max_concurrency, request_timeout=request_timeout, ) + logger.info(f"Using the RPC node {rpc}") + await inspector.inspect_many_blocks( inspect_db_session=inspect_db_session, trace_db_session=trace_db_session,