Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix set-id prompts #85

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,4 +1712,4 @@ async def nominate(wallet: Wallet, subtensor: SubtensorInterface, prompt: bool):

if do_set_identity:
id_prompts = set_id_prompts()
await set_id(wallet, subtensor, *id_prompts)
await set_id(wallet, subtensor, *id_prompts, prompt=prompt)
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/stake/stake.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@ async def unstake_multiple_extrinsic(
block_hash=block_hash,
)
tx_rate_limit_blocks: int = tx_query
# TODO: Handle in-case we have fast blocks

# TODO: Handle in-case we have fast blocks
if tx_rate_limit_blocks > 0:
console.print(
":hourglass: [yellow]Waiting for tx rate limit:"
Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/subnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ async def create(wallet: Wallet, subtensor: "SubtensorInterface", prompt: bool):

if do_set_identity:
id_prompts = set_id_prompts()
await set_id(wallet, subtensor, *id_prompts)
await set_id(wallet, subtensor, *id_prompts, prompt=prompt)


async def pow_register(
Expand Down
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,12 +1434,12 @@ def set_id_prompts() -> tuple[str, str, str, str, str, str, str, str, str, bool]
display_name,
legal_name,
web_url,
pgp_fingerprint,
riot_handle,
email,
pgp_fingerprint,
image_url,
info_,
twitter_url,
info_,
validator_id,
)

Expand Down
Loading