-
Notifications
You must be signed in to change notification settings - Fork 99
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
wasm client fails to query TimestampAtHeight
#1262
Labels
A: blocked
Admin: blocked by another (internal/external) issue or PR
A: bug
Admin: something isn't working
S: wasm
Scope: support Wasm envs
Comments
This requires a design decision. So, please refrain from creating a PR for this. |
10 tasks
Merged
10 tasks
ibc-go's main branch contains the fix. The fix landed on ibc-go |
2 tasks
Looks like, we need a patch for this. ibc-go v8 wasm doesn't have this fix and breaks with ibc-rs wasm light client integration. |
This was referenced Jan 27, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A: blocked
Admin: blocked by another (internal/external) issue or PR
A: bug
Admin: something isn't working
S: wasm
Scope: support Wasm envs
Bug Summary
With a wasm light client, compiled from ibc-rs, ibc-go fails to query
TimestampAtHeight
. The error it raises:Details
This happens as ibc-go omits
revision_number
field if it is set to zero while mashaling to JSON. Fromjson
go package:To make it work, we need to annotate our
revision_number
field with#[serde(default)]
with#[cfg_attr(feature = "serde", ...)]
.https://github.com/cosmos/ibc-rs/blob/8424f6903045b203614f12a5839c330a3559cece/ibc-core/ics02-client/types/src/height.rs#L32-L34
Version
v0.53.0
The text was updated successfully, but these errors were encountered: