opentensor / text-prompting

MIT License
28 stars 14 forks source link

can't use coldkeypub.txt #22

Open mogmachine opened 1 year ago

mogmachine commented 1 year ago

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 commented 1 year ago

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.

steffencruz commented 12 months ago

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

Eugene-hu commented 12 months ago

@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.