Merge 97c9ea600fdf9d79eedd74f18258a1ce34a36501 into ce8179f07e4fb8740b43570aa2c5826447c2af26
This commit is contained in:
commit
cfbfa7905a
@ -23,6 +23,7 @@ repos:
|
||||
rev: v0.942
|
||||
hooks:
|
||||
- id: 'mypy'
|
||||
language_version: python3.9
|
||||
additional_dependencies:
|
||||
- 'pydantic'
|
||||
- 'types-requests'
|
||||
|
3
cli.py
3
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user