text-prompting icon indicating copy to clipboard operation
text-prompting copied to clipboard

can't use coldkeypub.txt

Open mogmachine opened this issue 2 years ago • 3 comments

If you use btcli_regencoldkeypub to generate your coldkeyfile then run the validator you get the following error:

KeyFileError: Keyfile at: /root/.bittensor/wallets/default/coldkey does not exist

It should look for and work with /root/.bittensor/wallets/default/coldkeypub.txt as most validators do not import their cold key mnemonic to the validator machine.

mogmachine avatar Sep 28 '23 23:09 mogmachine

I have just found btcli w update which now encrypts the coldkey file meaning you can import the key with the mnemonic and not worry. You need to update the cli description of that command as it currently says

update Delegate Stake to an account.

Which is incorrect. That said i still think you should be able to enter just coldkeypub and never have to enter seed on gpu machine.

mogmachine avatar Sep 29 '23 05:09 mogmachine

@Eugene-hu @p-ferreira do we have eyes on this?

steffencruz avatar Oct 06 '23 16:10 steffencruz

@Eugene-hu @p-ferreira do we have eyes on this?

It has been addressed in the latest release: https://github.com/opentensor/bittensor/pull/1534. Also this should be an issue with the bittensor repo, rather than the text-prompting repo.

Eugene-hu avatar Oct 06 '23 17:10 Eugene-hu