I have a very basic question - ink! now has a Mapping struct for
key-value pairs. It seems it does not implement the
There is no way to iterate over a
Mapping from a contract. We intent to implement this functionality soon. For more information check out this issue: https://github.com/paritytech/substrate/issues/11410
If you try to iterate over a mapping off chain (from a UI for example) you could use the
childState_getKeys RPC to list the keys of the child trie used by the contract in question.