File tree Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 9.4.2 /2025-04-22
4
+
5
+ ## What's Changed
6
+ * Subnets Register Improvements by @thewhaleking in https://github.com/opentensor/btcli/pull/450
7
+ * Fix ` KeyFileError: File is not writable ` during ` btcli wallet create ` command by @basfroman in https://github.com/opentensor/btcli/pull/452
8
+
9
+ ** Full Changelog** : https://github.com/opentensor/btcli/compare/v9.4.1...v9.4.2
10
+
3
11
## 9.4.1 /2025-04-17
4
12
5
13
## What's Changed
Original file line number Diff line number Diff line change @@ -678,7 +678,6 @@ async def burned_register_extrinsic(
678
678
wait_for_inclusion : bool = True ,
679
679
wait_for_finalization : bool = True ,
680
680
era : Optional [int ] = None ,
681
- prompt : bool = False ,
682
681
) -> tuple [bool , str ]:
683
682
"""Registers the wallet to chain by recycling TAO.
684
683
Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ async def root_register_extrinsic(
290
290
wallet : Wallet ,
291
291
wait_for_inclusion : bool = True ,
292
292
wait_for_finalization : bool = True ,
293
- prompt : bool = False ,
294
293
) -> tuple [bool , str ]:
295
294
r"""Registers the wallet to root network.
296
295
Original file line number Diff line number Diff line change @@ -1662,12 +1662,14 @@ async def register(
1662
1662
subtensor ,
1663
1663
wallet = wallet ,
1664
1664
netuid = netuid ,
1665
- prompt = False ,
1666
1665
old_balance = balance ,
1667
1666
era = era ,
1668
1667
)
1669
1668
if json_output :
1670
1669
json_console .print (json .dumps ({"success" : success , "msg" : msg }))
1670
+ else :
1671
+ if not success :
1672
+ err_console .print (f"Failure: { msg } " )
1671
1673
1672
1674
1673
1675
# TODO: Confirm emissions, incentive, Dividends are to be fetched from subnet_state or keep NeuronInfo
Original file line number Diff line number Diff line change @@ -438,11 +438,10 @@ async def wallet_create(
438
438
"name" : wallet .name ,
439
439
"path" : wallet .path ,
440
440
"hotkey" : wallet .hotkey_str ,
441
- "hotkey_ss58" : wallet .hotkey .ss58_address ,
442
441
"coldkey_ss58" : wallet .coldkeypub .ss58_address ,
443
442
}
444
- except KeyFileError :
445
- err = "KeyFileError: File is not writable"
443
+ except KeyFileError as error :
444
+ err = str ( error )
446
445
print_error (err )
447
446
output_dict ["error" ] = err
448
447
try :
@@ -458,10 +457,9 @@ async def wallet_create(
458
457
"path" : wallet .path ,
459
458
"hotkey" : wallet .hotkey_str ,
460
459
"hotkey_ss58" : wallet .hotkey .ss58_address ,
461
- "coldkey_ss58" : wallet .coldkeypub .ss58_address ,
462
460
}
463
- except KeyFileError :
464
- err = "KeyFileError: File is not writable"
461
+ except KeyFileError as error :
462
+ err = str ( error )
465
463
print_error (err )
466
464
output_dict ["error" ] = err
467
465
if json_output :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " bittensor-cli"
7
- version = " 9.4.1 "
7
+ version = " 9.4.2 "
8
8
description = " Bittensor CLI"
9
9
readme = " README.md"
10
10
authors = [
You can’t perform that action at this time.
0 commit comments