Fetch all of the block from the DB if possible

This commit is contained in:
Luke Van Seters
2021-10-18 11:33:14 -04:00
parent a786b74f4a
commit 68232f4161
4 changed files with 76 additions and 32 deletions

2
cli.py
View File

@@ -43,7 +43,6 @@ def inspect_block_command(block_number: int, rpc: str, cache: bool):
w3,
trace_classifier,
block_number,
should_cache=cache,
trace_db_session=trace_db_session,
)
@@ -83,7 +82,6 @@ def inspect_many_blocks_command(
trace_classifier,
block_number,
should_write_classified_traces=False,
should_cache=cache,
trace_db_session=trace_db_session,
)