一个合约中用了下面的map library,用truffle在部署哪个合约的时候失败,提示要先部署下面这个库,在remix部署的时候会自动先部署这个library,为什么会这样的,之前用其他math ,safeERC20库的时候也没这个提示啊
library IterableMapping {
// Iterable mapping from address to uint;
struct Map {
address[] keys;
mapping(address => uint) values;
mapping(address => uint) indexOf;
mapping(address => bool) inserted;
}