Skip to content

Commit

Permalink
Merge pull request #2272 from opentensor/release/merge-staging-7.4.0
Browse files Browse the repository at this point in the history
Merge staging to release 7.4.0
  • Loading branch information
ibraheem-opentensor authored Aug 28, 2024
2 parents 0b28d4b + c5ddded commit c027632
Show file tree
Hide file tree
Showing 12 changed files with 1,167 additions and 234 deletions.
2 changes: 2 additions & 0 deletions bittensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@ def debug(on: bool = True):
# Needs to use wss://
__bellagene_entrypoint__ = "wss://parachain.opentensor.ai:443"


if (
BT_SUBTENSOR_CHAIN_ENDPOINT := os.getenv("BT_SUBTENSOR_CHAIN_ENDPOINT")
) is not None:
__local_entrypoint__ = BT_SUBTENSOR_CHAIN_ENDPOINT
else:
__local_entrypoint__ = "ws://127.0.0.1:9944"


__tao_symbol__: str = chr(0x03C4)

__rao_symbol__: str = chr(0x03C1)
Expand Down
4 changes: 4 additions & 0 deletions bittensor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
SetChildrenCommand,
GetChildrenCommand,
RevokeChildrenCommand,
SetChildKeyTakeCommand,
GetChildKeyTakeCommand,
)

# Create a console instance for CLI display.
Expand Down Expand Up @@ -175,6 +177,8 @@
"get_children": GetChildrenCommand,
"set_children": SetChildrenCommand,
"revoke_children": RevokeChildrenCommand,
"set_childkey_take": SetChildKeyTakeCommand,
"get_childkey_take": GetChildKeyTakeCommand,
},
},
"weights": {
Expand Down
2 changes: 2 additions & 0 deletions bittensor/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
StakeShow,
SetChildrenCommand,
GetChildrenCommand,
SetChildKeyTakeCommand,
GetChildKeyTakeCommand,
)
from .unstake import UnStakeCommand, RevokeChildrenCommand
from .overview import OverviewCommand
Expand Down
Loading

0 comments on commit c027632

Please sign in to comment.