Decoding a mapping in Solidity: Type library IterableMapping is not implicitly convertible to expected type struct IterableMapping.Map storage pointer
Context I am storing the content of the following mapping into a file: pragma solidity >=0.8.25 <0.9.0; import “test/TestConstants.sol”; library IterableMapping { // Iterable mapping from string[] to uint; struct Map { string[] keys; mapping(string => uint256) values; mapping(string => uint256) indexOf; mapping(string => bool) inserted; } function get(Map storage map, string memory key) public […]