-
Notifications
You must be signed in to change notification settings - Fork 124
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
key prefixes for ics chains #923
Comments
ICS chains work the same as any other chain, e.g. for Neutron it's If you set it incorrectly, the key will be serialized incorrectly. |
Thanks for the swift reply! Wouldn't tmkms still sign properly regardless? After all, when reduced to the raw bytes and bits, the key remains the same? E.g. test output below:
|
Yes, it's required for the key to display correctly when using |
Ok, so the prefix is for display only. Thanks again for the help! |
|
If it's not displaying it, you have something configured incorrectly |
The output looks the same as https://github.com/iqlusioninc/tmkms/blob/main/README.yubihsm.md#tmkms-yubihsm-keys-list-list-signing-keys though.
Were you referring to
|
If correctly configured, it should also display in
It seems you haven't designated that key as being a consensus key for a particular chain yet? |
You're right. There's another example in the README showing the prefix.
Does this refer to the configuration in:
|
You need to assign the key to the consensus role for a particular chain. See: https://github.com/iqlusioninc/tmkms/blob/main/tmkms.toml.example#L50 |
Got it! We only have
instead of
Thanks! |
Wrt
tmkms/README.yubihsm.md
Lines 530 to 531 in 46205b1
for ics chains (e.g. stride, neutron, etc) should the key prefix be set to the ics chain name itself, or
cosmos
?What happens if the wrong prefix is set?
The text was updated successfully, but these errors were encountered: