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
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)]
.ibc-rs/ibc-core/ics02-client/types/src/height.rs
Lines 32 to 34 in 8424f69
Version
v0.53.0
The text was updated successfully, but these errors were encountered: