In L1ERC20Bridge contract implementation, it only accepts tokens that return true in approve function.
However, some tokens like USDT do not return true after approval, thus failing to bridge USDT.
During the deposit through L1ERC20Bridge contract, it calls _approveFundsToAssetRouter function, as shown above, which approves tokens to the asset router.
And then it reverts if success is false, which does not allow tokens like USDT that do not return true after approval.
Tokens like USDT can't be bridged
Manual Review
OpenZeppelin's SafeERC20 library should be used to mitigate the issue.
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.