Skip to content

Conversation

@jose-blockchain
Copy link

@jose-blockchain jose-blockchain commented Jan 20, 2026

Description

Disables the wallet history command which is currently broken due to the Taostats API
(https://api.subquery.network/sq/TaoStats/bittensor-indexer) returning 404 errors.

The API now requires an API key which cannot be feasibly bundled with btcli.

The command now displays an informative message to users explaining the situation and
linking to the tracking issue.

Changes

  • Modified wallet_history() in bittensor_cli/src/commands/wallets.py to display
    a disabled message instead of attempting the broken API call

Fixes

Potential Reviewers

@thewhaleking @distributedstatemachine @ibraheem-abe

chideraao and others added 30 commits December 22, 2025 21:44
* feat: add the print_success util

* feat: refactor with print_success

* fix: update with print_success and print_error

* ruff format

* fix: revert cli

* fix: update the util for print_success

* fix: update the print_error and revert print_success for remove.py file

* hotfix: add the missing character

* fix: change to white_check_mark

* fix: revert to white_heavy_check_mark

* fix: revert print_success for wallet and few consol from utils

* ruff format

* fix: revert in the e2e util

* ruff format
…CallDelay-constant-name

Update DurationOfStartCall -> InitialStartCallDelay
…afe-staking

Feat: Add protection warnings
ibraheem-abe and others added 20 commits January 14, 2026 14:31
…-enhancements

feat: Add crowdloan contributors command and enhance create/view functionality
Fixes opentensor#635

## Problem
Running `btcli subnets list --json-out` produced no output.

## Root Cause
In `dict_table()` function, `tao_flow_ema` was already converted to a float
via `.tao`, but line 604 tried to call `.tao` again, causing an
`AttributeError: 'float' object has no attribute 'tao'`.

This error was silently swallowed, resulting in empty output.

## Changes
1. `subnets.py`: Fixed double `.tao` call on `tao_flow_ema`
2. `utils.py`: Changed `json_console` to use `force_terminal=True`
   to ensure output in all environments

## Testing
- Verified `btcli subnets list --json-out` now produces valid JSON output
- Tested with Python 3.12, BTCLI 9.17.0, finney network
…cation-and-bugs

Fix: Mech count indication + missing params
@ibraheem-abe
Copy link
Contributor

Thank you for your contrib!
We usually display warnings and exit in the main command entry point in cli.py as per cadence

Also I would change the message up a bit to something like "This command is currently disabled as it used external APIs which are no longer feasible; meanwhile a chain native data fetching solution is being investigated"

@jose-blockchain
Copy link
Author

what about this @ibraheem-abe ?

  • Message moved to CLI entry point (cli.py:3821-3824)
  • Message updated to: "This command is currently disabled as it used external APIs which are no longer feasible; meanwhile a chain native data fetching solution is being investigated."
  • wallets.py reverted to original (no changes there)

Commit 9565ddd amended on branch fix/disable-wallet-history-235.

@ibraheem-abe
Copy link
Contributor

@jose-blockchain
I can still see changes in async def wallet_history(wallet: Wallet):. You can revert this

And also please base your branch on top of latest staging - we dont merge directly to main

ibraheem-abe and others added 2 commits January 21, 2026 16:28
…empty

fix: JSON output empty for `btcli subnets list --json-out` command
This command is disabled as it used external APIs which are no longer feasible;
meanwhile a chain native data fetching solution is being investigated.

Fixes opentensor#235
Related to opentensor#302
@jose-blockchain jose-blockchain force-pushed the fix/disable-wallet-history-235 branch from c4ba7c0 to 78ca077 Compare January 22, 2026 07:51
@jose-blockchain
Copy link
Author

ok created a new PR here @ibraheem-abe #811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wallet History doesn't work

6 participants