From 5b89030be1c34bf7511c7e2e1e6f2ff669e3c75a Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Wed, 4 Dec 2024 15:10:40 +0100 Subject: [PATCH] chore: add todo --- modules/core/02-client/types/codec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/02-client/types/codec.go b/modules/core/02-client/types/codec.go index 199a01a8f27..167c7c9e8c5 100644 --- a/modules/core/02-client/types/codec.go +++ b/modules/core/02-client/types/codec.go @@ -78,6 +78,7 @@ func UnpackClientState(protoAny *gogoprotoany.Any) (exported.ClientState, error) clientState, ok := protoAny.GetCachedValue().(exported.ClientState) if !ok { + // TODO(damian): revert this extra err info return nil, errorsmod.Wrapf(ibcerrors.ErrUnpackAny, "cannot unpack Any into ClientState %T, typeURL: %s, cachedValue: %v", protoAny, protoAny.TypeUrl, protoAny.GetCachedValue()) }