diff --git a/x/ibc/core/24-host/keys.go b/x/ibc/core/24-host/keys.go index 0ab66467dc..3a51a13db1 100644 --- a/x/ibc/core/24-host/keys.go +++ b/x/ibc/core/24-host/keys.go @@ -31,9 +31,9 @@ var ( const ( KeyChannelPrefix = "channelEnds" KeyChannelCapabilityPrefix = "capabilities" - KeyNextSeqSendPrefix = "seqSends" - KeyNextSeqRecvPrefix = "seqRecvs" - KeyNextSeqAckPrefix = "seqAcks" + KeyNextSeqSendPrefix = "nextSequenceSend" + KeyNextSeqRecvPrefix = "nextSequenceRecv" + KeyNextSeqAckPrefix = "nextSequenceAck" KeyPacketCommitmentPrefix = "commitments" KeyPacketAckPrefix = "acks" KeyPacketReceiptPrefix = "receipts" @@ -116,17 +116,17 @@ func ChannelCapabilityPath(portID, channelID string) string { // NextSequenceSendPath defines the next send sequence counter store path func NextSequenceSendPath(portID, channelID string) string { - return fmt.Sprintf("%s/", KeyNextSeqSendPrefix) + channelPath(portID, channelID) + "/nextSequenceSend" + return fmt.Sprintf("%s/", KeyNextSeqSendPrefix) + channelPath(portID, channelID) } // NextSequenceRecvPath defines the next receive sequence counter store path func NextSequenceRecvPath(portID, channelID string) string { - return fmt.Sprintf("%s/", KeyNextSeqRecvPrefix) + channelPath(portID, channelID) + "/nextSequenceRecv" + return fmt.Sprintf("%s/", KeyNextSeqRecvPrefix) + channelPath(portID, channelID) } // NextSequenceAckPath defines the next acknowledgement sequence counter store path func NextSequenceAckPath(portID, channelID string) string { - return fmt.Sprintf("%s/", KeyNextSeqAckPrefix) + channelPath(portID, channelID) + "/nextSequenceAck" + return fmt.Sprintf("%s/", KeyNextSeqAckPrefix) + channelPath(portID, channelID) } // PacketCommitmentPath defines the commitments to packet data fields store path