DeFiHardhat
35,000 USDC
View results
Submission Details
Severity: low
Invalid

Transactions may pending in memory pool forever

Summary

Protocol txs may pending in memory pool forever because incorrect deadline parameter set.

Vulnerability Details

LibFertilizer#addFertilizer function call IWell(barnRaiseWell).addLiquidity function to add liquidity but set the deadline parameter to type(uint256).max, which means the txs may pending in memory pool forever.

Impact

Txs may pending in memory pool forever.

Tools Used

vscode, Manual Review

Recommendations

Set the deadline parameter to a specific value like current timestamp + 10s.

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

Fertilizer deadline

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.