Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird log output: "marshaling error: json: unsupported type: func() uint64" #1336 #1246

Closed
3 tasks
okwme opened this issue Apr 11, 2022 · 1 comment · Fixed by #1919
Closed
3 tasks

Weird log output: "marshaling error: json: unsupported type: func() uint64" #1336 #1246

okwme opened this issue Apr 11, 2022 · 1 comment · Fixed by #1919

Comments

@okwme
Copy link

okwme commented Apr 11, 2022

Reposting this issue from @mdyring from cosmos/gaia#1336

Summary of Bug

The below looks unexpected but I am unsure how serious this is. Could just be a log artifact.

{"level":"info","module":"x/ibc/client","client-id":"07-tendermint-259","height":"1-3602502","time":"2022-03-15T12:50:58Z","message":"client state updated"}
{"level":"info","module":"x/ibc/channel","dst_channel":"channel-0","dst_port":"transfer","sequence":"marshaling error: json: unsupported type: func() uint64","src_channel":"channel-141","src_port":"transfer","time":"2022-03-15T12:50:58Z","message":"packet acknowledged"}
{"level":"info","module":"x/ibc/channel","dst_channel":"channel-0","dst_port":"transfer","sequence":"marshaling error: json: unsupported type: func() uint64","src_channel":"channel-141","src_port":"transfer","time":"2022-03-15T12:50:58Z","message":"packet acknowledged"}
{"level":"info","module":"x/ibc/channel","dst_channel":"channel-0","dst_port":"transfer","sequence":"marshaling error: json: unsupported type: func() uint64","src_channel":"channel-141","src_port":"transfer","time":"2022-03-15T12:50:58Z","message":"packet acknowledged"}
{"level":"info","module":"x/ibc/channel","dst_channel":"channel-0","dst_port":"transfer","sequence":"marshaling error: json: unsupported type: func() uint64","src_channel":"channel-141","src_port":"transfer","time":"2022-03-15T12:50:58Z","message":"packet acknowledged"}

Version

v6.0.4

Steps to Reproduce

Look in log file ;-)


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@colin-axner
Copy link
Contributor

Thanks for reporting the issue @okwme. It was fixed in #995 and has been included in the v2.1.0 release (note the v2.0.x release line has been discontinued due to the security vulnerability fixed in v2.1.0). A similar logging issue for "acknowledgement written" has also been found and fixed but has yet to be included in a patch release

CosmosCar pushed a commit to caelus-labs/ibc-go that referenced this issue Nov 6, 2023
cosmos#1245)

<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview
Closes: cosmos#1246 
<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->

## Checklist

<!-- 
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants