From 114db150d54db0700ee16cbae2868ca03dbf39eb Mon Sep 17 00:00:00 2001 From: Yaru Wang Date: Wed, 20 Sep 2023 18:34:12 +0200 Subject: [PATCH] update comments --- x/ccv/provider/types/keys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/provider/types/keys.go b/x/ccv/provider/types/keys.go index 393546f04e..35c02f3335 100644 --- a/x/ccv/provider/types/keys.go +++ b/x/ccv/provider/types/keys.go @@ -485,7 +485,7 @@ func VSCMaturedHandledThisBlockKey() []byte { return []byte{VSCMaturedHandledThisBlockBytePrefix} } -// ChainInProposalKey returns the consumer chainId in consumerAddition gov proposal submitted before voting finishes +// ChainInProposalKey returns the key of proposed consumer chainId in consumerAddition gov proposal before voting finishes, the stored key format is prefix|len(chainID)|chainID|proposalID func ChainInProposalKey(chainID string, proposalID uint64) []byte { chainIdL := len(chainID) return ccvtypes.AppendMany(