It is not uncommon to use abi.encodeWithSelector
to generate calldata for a low-level call. However, the first option is not type-safe. As such, these methods is error-prone and ought to be considered unsafe.
within the BaseStrategy
contract.
Use abi.encodeCall
instead of abi.encodeWithSelector
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.