Skip to content

Commit 0ec9528

Browse files
authored
Merge pull request #616 from opentensor/release/9.11.0
Release/9.11.0
2 parents b8719d8 + 26ea2fa commit 0ec9528

File tree

13 files changed

+783
-134
lines changed

13 files changed

+783
-134
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 9.11.0 /2025-09-05
4+
* Better arg naming + type annotations by @thewhaleking in https://github.com/opentensor/btcli/pull/590
5+
* disk cache in config by @thewhaleking in https://github.com/opentensor/btcli/pull/588
6+
* Unstake no prompts by @thewhaleking in https://github.com/opentensor/btcli/pull/591
7+
* expand readme by @thewhaleking in https://github.com/opentensor/btcli/pull/598
8+
* Better arg formatting for readability by @thewhaleking in https://github.com/opentensor/btcli/pull/592
9+
* Update childkey proportion CLI argument in docs by @HudsonGraeme in https://github.com/opentensor/btcli/pull/602
10+
* Update example for show command by @HudsonGraeme in https://github.com/opentensor/btcli/pull/604
11+
* New cmd: `btcli utils latency` by @thewhaleking in https://github.com/opentensor/btcli/pull/599
12+
* Fix: Swap hotkey - new hotkey reg check by @ibraheem-abe in https://github.com/opentensor/btcli/pull/608
13+
* Update cli.py to remove double negative typo by @calebcgates in https://github.com/opentensor/btcli/pull/606
14+
* Better shows hotkeypubs in `w list` by @thewhaleking in https://github.com/opentensor/btcli/pull/611
15+
* subnet symbol set command by @thewhaleking in https://github.com/opentensor/btcli/pull/613
16+
* Debug log by @thewhaleking in https://github.com/opentensor/btcli/pull/597
17+
* Debug log additional by @thewhaleking in https://github.com/opentensor/btcli/pull/615
18+
19+
### New Contributors
20+
* @calebcgates made their first contribution in https://github.com/opentensor/btcli/pull/606
21+
22+
**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.10.1...v9.11.0
23+
324
## 9.10.2 /2025-09-05
425
* Fixes swap-hotkey in by @ibraheem-abe in https://github.com/opentensor/btcli/commit/aec630ec06fb679957c1c2940f37a28751fd427f
526

README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,13 @@ You can set the commonly used values, such as your hotkey and coldkey names, the
135135
The default location of the config file is: `~/.bittensor/config.yml`. An example of a `config.yml` is shown below:
136136

137137
```yaml
138-
chain: ws://127.0.0.1:9945
139138
network: local
140-
no_cache: False
141-
wallet_hotkey: hotkey-user1
139+
use_cache: true
140+
dashboard_path: null
141+
disk_cache: false
142+
rate_tolerance: null
143+
safe_staking: true
144+
wallet_hotkey: default
142145
wallet_name: coldkey-user1
143146
wallet_path: ~/.bittensor/wallets
144147
metagraph_cols:
@@ -165,6 +168,29 @@ metagraph_cols:
165168
btcli config --help
166169
```
167170

171+
### ENV VARS
172+
BTCLI accepts a few environment variables that can alter how it works:
173+
- USE_TORCH (default 0): If set to 1, will use torch instead of numpy
174+
- DISK_CACHE (default 0, also settable in config): If set to 1 (or set in config), will use disk caching for various safe-cachable substrate
175+
calls (such as block number to block hash mapping), which can speed up subsequent calls.
176+
- BTCLI_CONFIG_PATH (default `~/.bittensor/config.yml`): This will set the config file location, creating if it does not exist.
177+
- BTCLI_DEBUG_FILE (default `~/.bittensor/debug.txt`): The file stores the most recent's command's debug log.
178+
179+
---
180+
181+
## Debugging
182+
BTCLI will store a debug log for every command run. This file is overwritten for each new command run. The default location
183+
of this file is `~/.bittensor/debug.txt` and can be set with the `BTCLI_DEBUG_FILE` env var (see above section).
184+
185+
The debug log will **NOT** contain any sensitive data (private keys), and is intended to be sent to the developers
186+
for debugging. This file contains basic information about the command being run, the config, and the back and forth of requests and responses
187+
to and from the chain.
188+
189+
If you encounter an issue, and would like to save the file somewhere it won't be overwritten, run `btcli --debug`,
190+
and set the save file location. We recommend doing this first before anything, and then starting your debugging with
191+
us on our [Discord](https://discord.gg/bittensor), or by opening an issue on [GitHub](https://github.com/opentensor/btcli/issues/new)
192+
(where you can also upload your debug file).
193+
168194
---
169195

170196
## License

0 commit comments

Comments
 (0)