iqlusioninc/tmkms

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

cryptodotbzh opened this issue · 1 comments

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

This is a limitation of the current softsign backend