Closed dianakocsis closed 2 months ago
OZ L-09 https://defender.openzeppelin.com/v2/#/audit/43d4e491-c5b4-42ba-b0fc-7f5adc46a6b6/issues/L-09
Use abi.encodeCall instead of abi.encodeWithSelector since abi.encodeWithSelector is not type safe and abi.encodeWithSignature is not typo safe
abi.encodeCall
abi.encodeWithSelector
abi.encodeWithSignature
Related Issue
OZ L-09 https://defender.openzeppelin.com/v2/#/audit/43d4e491-c5b4-42ba-b0fc-7f5adc46a6b6/issues/L-09
Description of changes
Use
abi.encodeCall
instead ofabi.encodeWithSelector
sinceabi.encodeWithSelector
is not type safe andabi.encodeWithSignature
is not typo safe