From 3ce6cf70c6eb731ac1ef265a8faa3490d25620a8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 6 Nov 2023 11:54:29 +0200 Subject: [PATCH] Add changes. --- .../mooncrawl/mooncrawl/state_crawler/cli.py | 2 +- .../state_crawler/jobs/mumbai-jobs.json | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/cli.py b/crawlers/mooncrawl/mooncrawl/state_crawler/cli.py index 924122ba..f1eae777 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/cli.py +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/cli.py @@ -469,7 +469,7 @@ def parse_jobs( # run crawling of levels try: # initial call of level 0 all call without subcalls directly moved there - logger.info("Crawl level: 0. Jobs amount: {len(calls[0])}") + logger.info(f"Crawl level: 0. Jobs amount: {len(calls[0])}") logger.info(f"call_tree_levels: {call_tree_levels}") batch_size = crawl_calls_level( diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json index 0f66c036..a7cf3625 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json @@ -66,9 +66,9 @@ { "inputs": [ { - "internalType": "uint256", + "internalType": "uint16", "name": "seasonId", - "type": "uint256", + "type": "uint16", "value": 1 }, { @@ -89,48 +89,48 @@ } ], "name": "twtGetSeasonalDominationPointsByAccount", - "address": "0xb93D53A10793C7EA7DaE973625C9BB3b18Eec2A7", + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", "outputs": [ { - "internalType": "uint256[5]", + "internalType": "uint56[5]", "name": "shadowcornDominationPoints", - "type": "uint256[5]" + "type": "uint56[5]" }, { - "internalType": "uint256[5]", + "internalType": "uint56[5]", "name": "unicornDominationPoints", - "type": "uint256[5]" + "type": "uint56[5]" } ], "stateMutability": "view", "type": "function", - "selector": "0x1c109952" + "selector": "0x0b4ef829" }, { "inputs": [ { - "internalType": "uint256", + "internalType": "uint16", "name": "seasonId", - "type": "uint256", + "type": "uint16", "value": 1 } ], "name": "twtGetSeasonalDominationPointsForAllRegions", - "address": "0xb93D53A10793C7EA7DaE973625C9BB3b18Eec2A7", + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", "outputs": [ { - "internalType": "uint256[5]", + "internalType": "uint56[5]", "name": "shadowcornDominationPoints", - "type": "uint256[5]" + "type": "uint56[5]" }, { - "internalType": "uint256[5]", + "internalType": "uint56[5]", "name": "unicornDominationPoints", - "type": "uint256[5]" + "type": "uint56[5]" } ], "stateMutability": "view", "type": "function", - "selector": "0xa491c0f6" + "selector": "0xbddb218c" } ] \ No newline at end of file