Skip to content
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
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/stake/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def safe_stake_extrinsic(
await response.process_events()
if not await response.is_success:
err_out(
f"\n{failure_prelude} with error: {format_error_message(await response.error_message, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(await response.error_message)}"
)
else:
block_hash = await subtensor.substrate.get_chain_head()
Expand Down Expand Up @@ -188,7 +188,7 @@ async def stake_extrinsic(
await response.process_events()
if not await response.is_success:
err_out(
f"\n{failure_prelude} with error: {format_error_message(await response.error_message, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(await response.error_message)}"
)
else:
new_balance, new_stake = await asyncio.gather(
Expand Down
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/stake/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ async def transfer_stake(
if not await response.is_success:
err_console.print(
f":cross_mark: [red]Failed[/red] with error: "
f"{format_error_message(await response.error_message, subtensor.substrate)}"
f"{format_error_message(await response.error_message)}"
)
return False

Expand Down Expand Up @@ -971,7 +971,7 @@ async def swap_stake(
if not await response.is_success:
err_console.print(
f":cross_mark: [red]Failed[/red] with error: "
f"{format_error_message(await response.error_message, subtensor.substrate)}"
f"{format_error_message(await response.error_message)}"
)
return False

Expand Down
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/stake/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ async def _unstake_extrinsic(
if not await response.is_success:
err_out(
f"{failure_prelude} with error: "
f"{format_error_message(await response.error_message, subtensor.substrate)}"
f"{format_error_message(await response.error_message)}"
)
return

Expand Down Expand Up @@ -674,7 +674,7 @@ async def _safe_unstake_extrinsic(
await response.process_events()
if not await response.is_success:
err_out(
f"\n{failure_prelude} with error: {format_error_message(await response.error_message, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(await response.error_message)}"
)
return

Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/subnets/subnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async def _find_event_attributes_in_extrinsic_receipt(
await response.process_events()
if not await response.is_success:
err_console.print(
f":cross_mark: [red]Failed[/red]: {format_error_message(await response.error_message, substrate)}"
f":cross_mark: [red]Failed[/red]: {format_error_message(await response.error_message)}"
)
await asyncio.sleep(0.5)
return False
Expand Down
Loading