Impossibility to retrieve and prove KV data with nil values
Due to a bug in the ICS23 proof verification package, it’s currently not possible to query anil
or empty value from a remote chain. If your KV query is registered with a key K
and the value under this key is nil
or empty, the submission of such a KV result will fail due to an IAVL-proof verification error:
nil
or empty value. This results in the error:
The team is working on ICS32 as a potential successor to ICS23 that may address these limitations. In the meantime, the only way to avoid this problem is to ensure that your queries do not target keys with
nil
or empty values.