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
6 changes: 5 additions & 1 deletion bittensor_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9624,7 +9624,11 @@ def proxy_execute_announced(
executed_int,
) = row
executed = bool(executed_int)
if call_hash_ == call_hash and address == proxy and executed is False:
if (
(call_hash_ == call_hash or f"0x{call_hash_}" == call_hash)
and address == proxy
and executed is False
):
potential_call_matches.append(row)
if len(potential_call_matches) == 1:
block = potential_call_matches[0][3]
Expand Down
4 changes: 3 additions & 1 deletion bittensor_cli/src/bittensor/subtensor_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,9 @@ async def create_signed(call_to_sign, n):
call=call_to_announce,
)
console.print(
f"Added entry {call_to_announce.call_hash} at block {block} to your ProxyAnnouncements address book."
f"Added entry [green]{call_to_announce.call_hash.hex()}[/green] "
f"at block {block} to your ProxyAnnouncements address book. You can execute this with\n"
f"[blue]btcli proxy execute --call-hash {call_to_announce.call_hash.hex()}[/blue]"
)
return True, inner_hash, response
else:
Expand Down
Loading