-
Notifications
You must be signed in to change notification settings - Fork 358
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
Submit misbehaviour messages using the consumer id #4153
Comments
Thank you for opening this! I have just one remark: I see in the new definitions you have pasted, that you plan on changing the tags of the fields within the message. I would caution against that, because doing so is not backward-compatible and you would have to release the new version of the message under a different namespace, eg. Instead, if you just add the field and do not change the tags of the existing field, then the change would be backward-compatible and you could just make the change without having to use a new namespace. This would also be preferable for us, as it's easier to just include the field when needed rather than switch between two different messages. |
Thanks @romac ! |
@romac The permissionless work is still under progress in the Furthermore, we introduced this query to receive the Let me know if there are any concerns or help needed from our side. |
Is the |
We should have it available as a gRPC query because:
|
Awesome, thank you! For reference, here is the query definition: https://github.com/cosmos/interchain-security/blob/e1b1dc2831267ae2bf85a95ff844ddb7ada06942/proto/interchain_security/ccv/provider/v1/query.proto#L131-L137 |
Summary
WHY
Currently, both misbehaviour messages (
MsgSubmitConsumerDoubleVoting
andMsgSubmitConsumerMisbehaviour
) utilize thechainID
(see here and here) in Hermes.As part of the Permissionless ICS work, we intend to move the Hub away from having a gov proposal launching a consumer chain and instead anyone could launch a chain with a transaction. As a result, we have to move away from using
chainID
as a unique identifier of consumer chains to a new identifier, calledconsumerId
, because now we might have multiple consumers chains with the samechainID
and hencechainID
cannot be a unique identifier. We intend to refactor all messages (e.g.,MsgOptIn
,MsgAssignConsumerKey
, etc.) to useconsumerId
instead of achainId
. This includes also theMsgSubmitConsumerDoubleVoting
andMsgSubmitConsumerMisbehaviour
messages and hence those messages when constructed by Hermes should contain theconsumerId
.This means, we will change the misbehaviour messages to be as follows:
and we would like Hermes to submit those misbehaviour messages by using the
consumerId
.HOW
Hermes could find out the
consumerId
by querying the provider'sclientId
for some consumer chain (i.e.,query ccvconsumer provider-info
) and then querying the provider chain for theconsumerId
that corresponds to thisclientId
. We intend to provide aquery consumer-id-from-client-id [client-id]
query so that Hermes can easily find theconsumerId
from theclientId
.WHEN
We hope to have the Permissionless ICS Hub (v20) launched in mid September and a have a release candidate by end of August.
For Admin Use
The text was updated successfully, but these errors were encountered: