Loops in withdrawNFT()
and finalizeLiquidation()
can gas out with large arrays of NFTs, potentially leading to a denial of service.
The withdrawNFT()
function iterates over user.nftTokenIds
, which could exceed gas limits if the array is large. Similarly, finalizeLiquidation()
could face the same issue, causing transaction failures and preventing users from withdrawing their NFTs.
Large NFT arrays can cause transactions to fail due to gas limits, effectively denying service to users and potentially locking their assets in the protocol.
Manual review
LightChaser L-36 and M-02 covers it.
LightChaser L-36 and M-02 covers it.
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.