The deadline parameter in ExactInputSingleParams specifies the unix time after which a swap will fail. The currently provided value is block.timestamp, which could cause swaps to fail in production.
Swaps could fail on mainnet.
Manual Review
Ideally, this should be configurable by the user and an additional argument should be added to the swap() function. Otherwise, the following code can be used:
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.