Hi all! I have this error when I try to use call in my contract.
Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ]
I've checked that my contract has a balance on token which calll I try.
so here is my call
(bool success,) = _to.call(
abi.encodeWithSignature(
"transfer(address, uint256)", msg.sender, 100
));
May 16, 2022, 4:48 PM