Bump Forge Std to get cheatcode visibility updates
Closed this issue · 1 comments
PaulRBerg commented
Permit2 uses an old version of Forge Std, which contains an outdated Vm
interface. This is an issue for users of the PermitSignature
util, because Solidity throws a warning that the visibility for the following functions can be restricted (to either pure
or view
):
getPermitSignatureRaw
getCompactPermitTransferSignature
getPermitBatchSignature
getPermitTransferSignature
getPermitWitnessTransferSignature
getPermitBatchTransferSignature
getPermitBatchWitnessSignature
The solution is to upgrade to the latest Forge Std.