From 3084962fd653c674285fd081a0738073bb46de3b Mon Sep 17 00:00:00 2001 From: pudongair <744355276@qq.com> Date: Wed, 28 Aug 2024 21:16:06 +0800 Subject: [PATCH] docs: fix some comments (#2075) chore: fix some comments Signed-off-by: pudongair <744355276@qq.com> --- tests/e2e/steps_multi_consumer_downtime.go | 2 +- tests/integration/expired_client.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/steps_multi_consumer_downtime.go b/tests/e2e/steps_multi_consumer_downtime.go index 7e73197b8f..02f070a612 100644 --- a/tests/e2e/steps_multi_consumer_downtime.go +++ b/tests/e2e/steps_multi_consumer_downtime.go @@ -1,6 +1,6 @@ package main -// stepsDowntime tests validator jailing and slashing. +// stepsMultiConsumerDowntimeFromConsumer tests validator jailing and slashing. // No slashing should occur for downtime slash initiated from the consumer chain // validators will simply be jailed in those cases // If an infraction is committed on the provider chain then the validator will be slashed diff --git a/tests/integration/expired_client.go b/tests/integration/expired_client.go index 5a55c75079..e5c6099203 100644 --- a/tests/integration/expired_client.go +++ b/tests/integration/expired_client.go @@ -17,7 +17,7 @@ import ( ccv "github.com/cosmos/interchain-security/v5/x/ccv/types" ) -// TestVSCPacketSendWithExpiredClient tests queueing of VSCPackets when the consumer client is expired. +// TestVSCPacketSendExpiredClient tests queueing of VSCPackets when the consumer client is expired. // While the consumer client is expired (or inactive for some reason) all packets will be queued and // and cleared once the consumer client is established. func (s *CCVTestSuite) TestVSCPacketSendExpiredClient() { @@ -203,7 +203,7 @@ func expireClient(s *CCVTestSuite, clientTo ChainType) { checkClientExpired(s, clientTo, true) } -// checkClientIsExpired checks whether the client to `clientTo` is expired +// checkClientExpired checks whether the client to `clientTo` is expired func checkClientExpired(s *CCVTestSuite, clientTo ChainType, expectedExpired bool) { var hostEndpoint *ibctesting.Endpoint var hostChain *ibctesting.TestChain