Skip to content

Commit

Permalink
chore: add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Dec 4, 2024
1 parent d70f0c4 commit 5b89030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/02-client/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 5b89030

Please sign in to comment.