Keyring store directory should be configurable #1541
Labels
A: low-priority
Admin: low priority / non urgent issue, expect longer wait time for PR reviews
O: new-feature
Objective: cause to add a new feature or support
O: tests
Objective: Test more aspect of the relayer
Milestone
Crate
ibc-relayer
Summary
Currently the file-based key ring implementation always store the private keys for relayer wallet at ~/.hermes/keys. This is problematic for testing purposes as the temporary-generated private keys kept piling up at the developer's home directory.
#1521 currently use the in-memory key store to avoid polluting the home directory. However if we want to allow manual invocation of the relayer commands in the middle of the test, the wallet keys have to be exported to the filesystem for the relayer CLI to access it. For now I'd like to avoid exporting the keys to the home directory, and only do file export of keys inside the tests after this issue is resolved.
Proposal
Add a config field in
config.toml
to specify key store directory.Acceptance Criteria
Running
hermes
command with customizedconfig.toml
should load wallet keys from directories other than~/.hermes/keys
.For Admin Use
The text was updated successfully, but these errors were encountered: