Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config error: only one [[providers.softsign]] consensus key allowed #500

Open
cryptodotbzh opened this issue Mar 12, 2022 · 1 comment
Open

Comments

@cryptodotbzh
Copy link

cryptodotbzh commented Mar 12, 2022

Hi,

Is it possible to run one instance of tmkms with multiple validators using softsign ?
I tried with this config (tmkms init -n cosmoshub,irishub,columbus test) and it didn't work. I have this error : config error: only one [[providers.softsign]] consensus key allowed

`
[[chain]]
id = "cosmoshub-3"
key_format = { type = "bech32", account_key_prefix = "cosmospub", consensus_key_prefix = "cosmosvalconspub" }
state_file = "/home/ubuntu/test/state/cosmoshub-3-consensus.json"

[[chain]]
id = "irishub"
key_format = { type = "bech32", account_key_prefix = "iap", consensus_key_prefix = "icp" }
state_file = "/home/ubuntu/test/state/irishub-consensus.json"

[[chain]]
id = "columbus-3"
key_format = { type = "bech32", account_key_prefix = "terra", consensus_key_prefix = "terravalconspub" }
state_file = "/home/ubuntu/test/state/columbus-3-consensus.json"

[[providers.softsign]]
chain_ids = ["cosmoshub-3"]
key_type = "consensus"
path = "/home/ubuntu/test/secrets/cosmoshub-3-consensus.key"

[[providers.softsign]]
chain_ids = ["irishub"]
key_type = "consensus"
path = "/home/ubuntu/test/secrets/irishub-consensus.key"

[[providers.softsign]]
chain_ids = ["columbus-3"]
key_type = "consensus"
path = "/home/ubuntu/test/secrets/columbus-3-consensus.key"

[[validator]]
chain_id = "cosmoshub-3"
addr = "tcp://example1.example.com:26658"
secret_key = "/home/ubuntu/test/secrets/kms-identity.key"
protocol_version = "legacy"
reconnect = true

[[validator]]
chain_id = "irishub"
addr = "tcp://exemple2.example.com:26658"
secret_key = "/home/ubuntu/test/secrets/kms-identity.key"
protocol_version = "legacy"
reconnect = true

[[validator]]
chain_id = "columbus-3"
addr = "tcp://example3.example.com:26658"
secret_key = "/home/ubuntu/test/secrets/kms-identity.key"
protocol_version = "legacy"
reconnect = true`

Do I have to run multiple instance of tmkms ? Thanks

@tony-iqlusion
Copy link
Member

This is a limitation of the current softsign backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants