From 9ee031266fe52164f6050d1902e57bbfd886aead Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Tue, 2 Jul 2024 15:20:56 +0200 Subject: [PATCH] fix!: typo in error codes (#2004) fix typo in error code --- x/ccv/provider/types/errors.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/x/ccv/provider/types/errors.go b/x/ccv/provider/types/errors.go index 7cee0716ba..5109489d76 100644 --- a/x/ccv/provider/types/errors.go +++ b/x/ccv/provider/types/errors.go @@ -27,9 +27,9 @@ var ( ErrInvalidConsumerCommissionRate = errorsmod.Register(ModuleName, 19, "consumer commission rate is invalid") ErrCannotOptOutFromTopN = errorsmod.Register(ModuleName, 20, "cannot opt out from a Top N chain") ErrNoUnconfirmedVSCPacket = errorsmod.Register(ModuleName, 21, "no unconfirmed vsc packet for this chain id") - ErrInvalidConsumerModificationProposal = errorsmod.Register(ModuleName, 23, "invalid consumer modification proposal") - ErrNoUnbondingTime = errorsmod.Register(ModuleName, 24, "provider unbonding time not found") - ErrInvalidAddress = errorsmod.Register(ModuleName, 25, "invalid address") - ErrUnauthorized = errorsmod.Register(ModuleName, 26, "unauthorized") - ErrBlankConsumerChainID = errorsmod.Register(ModuleName, 27, "consumer chain id must not be blank") + ErrInvalidConsumerModificationProposal = errorsmod.Register(ModuleName, 22, "invalid consumer modification proposal") + ErrNoUnbondingTime = errorsmod.Register(ModuleName, 23, "provider unbonding time not found") + ErrInvalidAddress = errorsmod.Register(ModuleName, 24, "invalid address") + ErrUnauthorized = errorsmod.Register(ModuleName, 25, "unauthorized") + ErrBlankConsumerChainID = errorsmod.Register(ModuleName, 26, "consumer chain id must not be blank") )