setWithdrawalPool may not work for some tokens that don't support approve type(uint256).max.
The setWithdrawalPool function aims to establish a withdrawal pool for managing Liquid Staking Tokens (LSTs). However, some LSTs may not support setting an approval limit of type(uint256).max.
This code snippet in the setWithdrawalPool function use safeApprove to set the maximum allowance for the withdrawal pool:
some LSTs tokens do not support approvals of (uint256).max attempting to do so may result reverts and reduced usability.
Impact
Tokens that do not support safeApprove (uint256).max will become problematic during withdrawal process and causing frustration for users.
Manual
I would suggest approve only the necessary amount of token to the withdrawalPool instead of the type(uint256).max .
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.