Rigor Protocol contest - a12jmx's results

Community lending and instant payments for new home construction.

General Information

Platform: Code4rena

Start Date: 01/08/2022

Pot Size: $50,000 USDC

Total HM: 26

Participants: 133

Period: 5 days

Judge: Jack the Pug

Total Solo HM: 6

Id: 151

League: ETH

Rigor Protocol

Findings Distribution

Researcher Performance

Rank: 96/133

Findings: 2

Award: $62.34

🌟 Selected for report: 0

🚀 Solo Findings: 0

It is best practice and also unnecessary to initialize for variables in:

Contract HomeFiProxy.sol

Line 87 Line 136

Contract Project.sol

Line 248 Line 311 Line 311

Contract Tasks.sol

Line 181

Recommendation:

for (uint256 i; i < _length; i++) throughout all for instances

#0 - parv3213

2022-08-07T07:49:48Z

Good QA recommendations.

#1 - zgorizzo69

2022-08-07T09:36:30Z

duplicates of #401

contract HomeFiProxy.sol

in line 87 in line 136

changing i++ to ++i will save around 800 gas together

Recommendation:

for (uint256 i = 0; i < _length; ++i) throughout 2 line recommendations

2.

contract Project.sol in

Line 248 Line 311 Line 311

changing i++ to ++i will save around 1200 gas together

Recommendation:

for (uint256 i = 0; i < _length; i++) throughout 3 line recommendations
AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter