You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function delegatecallToComputeF(address secondContractAddress) public { //use as input the address of the second contract this will allow delegatecallToComputeF to call the function computeF from this address
sc = SecondContract(secondContractAddress);
address(sc).delegatecall(abi.encodeWithSignature("computeF()")); //delegatecall returns success condition and return data hence the warning as we do not use this data