autonity / aut

A command-line RPC client for Autonity
MIT License
11 stars 10 forks source link

keystore directory created when not used #92

Open dtebbs opened 1 year ago

dtebbs commented 1 year ago

Reported by @JackmooreCM @vesselinux

aut creates directory keystore:/ after imorting treasury private key

  • should not do that
  • TODO: reproduce (related to doing "aut account import-private-key ./alice.priv")
dtebbs commented 1 year ago

@JackmooreCM @vesselinux

Can you give some more details? On the basis of the command line given, no keyfile seems to have been specified, so the tool should generate its own keyfile. The default keyfile is in the keystore directory, and if the keystore directory has not been specified, it defaults to ~/.autonity/keystore/.

It sounds like some directory may have been created when it shouldn't have been? When you get a chance, please specify expected and actual behavior, and any .autrc file. Thanks.