You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keys are just skipped if deserializating of its key or value fails.
That's because de_fn returns Result which implements Iterator as well and, being iterated, returns nothing in case of error value
Good point. I think this arose because of backwards compatibility when implementing key deserialisation on top of the existing API. I agree this would be good to change / address.
maurolacy
changed the title
[cw-storage-plus] Prefix::keys method never failsPrefix::keys method never fails
Aug 8, 2022
Keys are just skipped if deserializating of its key or value fails.
That's because de_fn returns Result which implements Iterator as well and, being iterated, returns nothing in case of error value
cw-plus/packages/storage-plus/src/prefix.rs
Line 188 in b2a1561
Is it desired behavior?
The text was updated successfully, but these errors were encountered: