Having this ability would help to mitigate attacks and would ameleorate the need for this withdrawERC20() to be all-or-nothing
https://github.com/code-423n4/2022-05-cudos/blob/de39cf3cd1f1e1cf211819b06d4acf6a043acda0/solidity/contracts/Gravity.sol#L632-L638
V-Staykov (Cudos) commented:
For this contest, 33 reports were submitted by wardens detailing gas optimizations. The report highlighted below by GermanKuber received the top score from the judge.
The following wardens also submitted reports: IllIllI, defsec, 0xkatana, Dravee, 0x1f8b, Funen, 0xNazgul, CertoraInc, AlleyCat, slywaters, 0xf15ers, oyc_109, robee, 0xDjango, rfa, peritoflores, 0v3rf10w, WatchPug, ellahi, MaratCerby, simon135, GimelSec, hake, gzeon, delfin454000, ilan, JC, sorrynotsorry, hansfriese, Waze, nahnah, and jonatascm.
