bittensor-cli 9.8.3__py3-none-any.whl → 9.8.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -660,7 +660,7 @@ HYPERPARAMS = {
660
660
  ),
661
661
  "yuma3_enabled": ("sudo_set_yuma3_enabled", False),
662
662
  "alpha_sigmoid_steepness": ("sudo_set_alpha_sigmoid_steepness", True),
663
- "user_liquidity_enabled": ("toggle_user_liquidity", True),
663
+ "user_liquidity_enabled": ("toggle_user_liquidity", False),
664
664
  }
665
665
 
666
666
  HYPERPARAMS_MODULE = {
@@ -1533,7 +1533,7 @@ class SubtensorInterface:
1533
1533
  fee_rate = await self.query("Swap", "FeeRate", [origin_netuid])
1534
1534
  fee = amount * (fee_rate / U16_MAX)
1535
1535
 
1536
- result = Balance.from_tao(fee)
1536
+ result = Balance.from_rao(fee)
1537
1537
  result.set_unit(origin_netuid)
1538
1538
 
1539
1539
  return result
@@ -32,7 +32,7 @@ if TYPE_CHECKING:
32
32
  from bittensor_cli.src.bittensor.chain_data import SubnetHyperparameters
33
33
  from rich.prompt import PromptBase
34
34
 
35
- BT_DOCS_LINK = "https://docs.bittensor.com"
35
+ BT_DOCS_LINK = "https://docs.learnbittensor.org"
36
36
 
37
37
 
38
38
  console = Console()
@@ -323,6 +323,17 @@ async def subnets_list(
323
323
 
324
324
  for subnet in subnets_:
325
325
  netuid = subnet.netuid
326
+ # The default symbols for 123 and 124 are visually identical:
327
+ # 123: 𑀀
328
+ # 124: 𑀁
329
+ # and the symbol for 125 is basically a colon
330
+ # 125: 𑀂
331
+ # however, because they're in Brahmi, which very few fonts support, they don't render properly
332
+ # This patches them.
333
+ replacements = {69632: "˙", 69633: "˙", 69634: ":"}
334
+ if (sso := ord(subnet.symbol)) in replacements.keys():
335
+ subnet.symbol = replacements[sso]
336
+
326
337
  symbol = f"{subnet.symbol}\u200e"
327
338
 
328
339
  if netuid == 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bittensor-cli
3
- Version: 9.8.3
3
+ Version: 9.8.5
4
4
  Summary: Bittensor CLI
5
5
  Author: bittensor.com
6
6
  Project-URL: homepage, https://github.com/opentensor/btcli
@@ -2,14 +2,14 @@ bittensor_cli/__init__.py,sha256=Lpv4NkbAQgwrfqFOnTMuR_S-fqGdaWCSLhxnFnGTHM0,123
2
2
  bittensor_cli/cli.py,sha256=ErbyBpp8amE4nOOsN8tvarf-JrW3Bx6F5MQJ4dHLuUI,231135
3
3
  bittensor_cli/doc_generation_helper.py,sha256=GexqjEIKulWg84hpNBEchJ840oOgOi7DWpt447nsdNI,91
4
4
  bittensor_cli/version.py,sha256=dU1xsa3mG5FPdhzvqlzDByNcCHmzcFQH3q1pQr4u76g,720
5
- bittensor_cli/src/__init__.py,sha256=2UhjaM4VHfixjmMZvz5OkWn5DsO08WRnOtk_ZNDGTUo,33012
5
+ bittensor_cli/src/__init__.py,sha256=qpJgFu6s_ctoQFZevWxIrltMNViiH9sqiwwCY2JnUUI,33013
6
6
  bittensor_cli/src/bittensor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  bittensor_cli/src/bittensor/balances.py,sha256=q5KkxF8wmUguWAFddEKstfDKTxPe5ISHpT6br8x32rc,11148
8
8
  bittensor_cli/src/bittensor/chain_data.py,sha256=_GATOCacWMN2jRurzn3hffJiq_l7AznGRkKePTAflwQ,44420
9
9
  bittensor_cli/src/bittensor/minigraph.py,sha256=BIzmSVLfBYiRAeGD_i1LAC8Cw7zxp38a91SIFEPMqYc,10479
10
10
  bittensor_cli/src/bittensor/networking.py,sha256=pZLMs8YXpZzDMLXWMBb_Bj6TVkm_q9khyY-lnbwVMuE,462
11
- bittensor_cli/src/bittensor/subtensor_interface.py,sha256=ApVe45RMT8W8qEoTpikrJp48SjEMlsBXwMutq4RhxKU,61886
12
- bittensor_cli/src/bittensor/utils.py,sha256=cvJZNhcm2tESZ43D1fmBH3Zc1rSe_BvanvhRuN7qL5o,47961
11
+ bittensor_cli/src/bittensor/subtensor_interface.py,sha256=iPpM0mGsRwc7iejBI9oChpFd8DgEw13-Yb1fflQyCb8,61886
12
+ bittensor_cli/src/bittensor/utils.py,sha256=iVsEtC2mod9Z5EwXKCODy2k0yiP2kDZqmm-hhn24S-M,47966
13
13
  bittensor_cli/src/bittensor/extrinsics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  bittensor_cli/src/bittensor/extrinsics/registration.py,sha256=7ybqpJ7-Z_PTgj4boCOFxgfjMBCHv0JE7MNpJzJmyDc,66360
15
15
  bittensor_cli/src/bittensor/extrinsics/root.py,sha256=C9WPssL2HpNK8u_IFPPr8TrdFgbLPTfkbAYzalfmbRM,19188
@@ -43,9 +43,9 @@ bittensor_cli/src/commands/stake/move.py,sha256=X8rphxkL5BBHJSNpNqY_o3fffCpSI0-y
43
43
  bittensor_cli/src/commands/stake/remove.py,sha256=DX7yPXs5n8Gp3O_Fwz8cMYI8CAiRp16gbKLwSCAoYmM,47341
44
44
  bittensor_cli/src/commands/subnets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  bittensor_cli/src/commands/subnets/price.py,sha256=akXkbilWjQYqTYvtOhXngX_cVkU0Mv-Gl3kjce6dtl0,21490
46
- bittensor_cli/src/commands/subnets/subnets.py,sha256=yM74ct5a9xHyD_TdSAmZL6XOtkT6zk6F67VvOe8Ou68,94070
47
- bittensor_cli-9.8.3.dist-info/METADATA,sha256=eZmwoAOU1-_rvmLAX2Yi1a4YlTYYWjE4Xj9R0xlrJF0,6601
48
- bittensor_cli-9.8.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
49
- bittensor_cli-9.8.3.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
50
- bittensor_cli-9.8.3.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
51
- bittensor_cli-9.8.3.dist-info/RECORD,,
46
+ bittensor_cli/src/commands/subnets/subnets.py,sha256=ZeR7gxjtxi9eQdPLlIOmw3jDxDPnteppTPJ1-1y_TCs,94601
47
+ bittensor_cli-9.8.5.dist-info/METADATA,sha256=6Oksi-qJ5_MjRi8_ntWcphwClpNX3vIPC4Vf79wH9X8,6601
48
+ bittensor_cli-9.8.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
49
+ bittensor_cli-9.8.5.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
50
+ bittensor_cli-9.8.5.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
51
+ bittensor_cli-9.8.5.dist-info/RECORD,,