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

The Taostats API now requires an API key which cannot be bundled with btcli.
Displays informative message to users until a chain-native solution is found.

Fixes opentensor#235
Related to opentensor#302
@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"

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
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

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

2 participants