Lets say:
I deploy an instance of Contract A with Contract B
A uses the SafeMath library, is it necessary in solidity to link this library to A as well ?
function deploy() public returns (address) {
Caller caller = new Caller();
}
Here Caller uses SafeMath, when I deploy it via hardhat / truffle I link SafeMath to Caller but how is it done in solidity
Jan 6, 2022, 10:34 AM