Platform: Code4rena
Start Date: 27/01/2022
Pot Size: $90,000 USDC
Total HM: 21
Participants: 33
Period: 7 days
Judge: Jack the Pug
Total Solo HM: 14
Id: 78
League: ETH
Rank: 25/33
Findings: 1
Award: $70.20
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: robee
Also found by: Randyyy, Tomio, rfa, sirhashalot
22.9602 USDC - $22.96
Tomio
Expensive gas
https://github.com/code-423n4/2022-01-behodler/blob/main/contracts/Limbo.sol#L628 // gas cost 23758
Remix
Change to:
function getPending(User calldata user, Soul calldata soul)
// gas cost 22771
#0 - jack-the-pug
2022-02-27T13:11:00Z
Dup #22
🌟 Selected for report: Dravee
Also found by: Tomio, csanuragjain
47.2433 USDC - $47.24
Tomio
if amount = 0
the function will make an external call, even though it's not transfer anything
https://github.com/code-423n4/2022-01-behodler/blob/main/contracts/DAO/LimboDAO.sol#L21
add
if (amount != 0) {
#0 - jack-the-pug
2022-02-27T13:09:28Z
Dup #290