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
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
I am not quite sure if storage_key_iter was ever designed to be used with StorageDoubleMaps. In that case, a note in the documentation is crucial, otherwise devs might mess up their storage by assuming that it will work.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When using storage_key_iter on a StorageDoubleMap with a ReversibleStorageHasher other than Identity, the second keys that are returned contain wrong values.
I am not quite sure if
storage_key_iterwas ever designed to be used withStorageDoubleMaps. In that case, a note in the documentation is crucial, otherwise devs might mess up their storage by assuming that it will work.Steps to reproduce
I created a repository that contains a rust crate with a minimal example and three tests that can be used as a reference.
i32, the value should beu32(-12, -34) = 56