From 690d2955a7df5e568aa8336ebd03f5d590dea2d0 Mon Sep 17 00:00:00 2001 From: BD Himes Date: Wed, 25 Mar 2026 20:51:17 +0200 Subject: [PATCH 1/2] Speeds up from 51 seconds to 3 for me --- bittensor_cli/src/bittensor/subtensor_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bittensor_cli/src/bittensor/subtensor_interface.py b/bittensor_cli/src/bittensor/subtensor_interface.py index e439ae8e..568b5754 100644 --- a/bittensor_cli/src/bittensor/subtensor_interface.py +++ b/bittensor_cli/src/bittensor/subtensor_interface.py @@ -2239,10 +2239,11 @@ async def get_all_coldkeys_claim_type( params=[], block_hash=block_hash, reuse_block_hash=reuse_block, + fully_exhaust=True, ) root_claim_types = {} - async for coldkey, claim_type_data in result: + for coldkey, claim_type_data in result.records: coldkey_ss58 = decode_account_id(coldkey[0]) claim_type_key = next(iter(claim_type_data.value.keys())) From a9ef489ffaee72031ad12c3c9270e51e68eee738 Mon Sep 17 00:00:00 2001 From: BD Himes Date: Wed, 25 Mar 2026 20:53:07 +0200 Subject: [PATCH 2/2] Bump page size --- bittensor_cli/src/bittensor/subtensor_interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bittensor_cli/src/bittensor/subtensor_interface.py b/bittensor_cli/src/bittensor/subtensor_interface.py index 568b5754..410dff0f 100644 --- a/bittensor_cli/src/bittensor/subtensor_interface.py +++ b/bittensor_cli/src/bittensor/subtensor_interface.py @@ -2240,6 +2240,7 @@ async def get_all_coldkeys_claim_type( block_hash=block_hash, reuse_block_hash=reuse_block, fully_exhaust=True, + page_size=1_000, ) root_claim_types = {}