Merge branch 'main' into reorg-metatx-db

pull/882/head
kompotkot 2023-08-08 19:39:40 +00:00
commit f80edef557
2 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -189,7 +189,11 @@ def handle_historical_crawl(args: argparse.Namespace) -> None:
)
if addresses_filter:
filtered_function_call_jobs = [job for job in all_function_call_jobs]
filtered_function_call_jobs = [
job
for job in all_function_call_jobs
if job.contract_address in addresses_filter
]
else:
filtered_function_call_jobs = all_function_call_jobs
@ -267,6 +271,8 @@ def handle_historical_crawl(args: argparse.Namespace) -> None:
end_block = args.end
start_block = args.start
# get set of addresses from event jobs and function call jobs
if args.find_deployed_blocks:
addresses_set = set()

Wyświetl plik

@ -30,6 +30,8 @@ tags_metadata = [
leaderboad_whitelist = {
f"/leaderboard/{DOCS_TARGET_PATH}": "GET",
"/leaderboard/openapi.json": "GET",
"/leaderboard/info": "GET",
"/leaderboard/quartiles": "GET",
"/leaderboard/count/addresses": "GET",