diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index dd386e59d..1c004d682 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -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] diff --git a/bittensor_cli/src/bittensor/subtensor_interface.py b/bittensor_cli/src/bittensor/subtensor_interface.py index 10004797f..abdcfa961 100644 --- a/bittensor_cli/src/bittensor/subtensor_interface.py +++ b/bittensor_cli/src/bittensor/subtensor_interface.py @@ -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: