Foundation contest - Ruhum's results

Building the new creative economy

General Information

Platform: Code4rena

Start Date: 24/02/2022

Pot Size: $75,000 USDC

Total HM: 21

Participants: 28

Period: 7 days

Judge: alcueca

Total Solo HM: 15

Id: 94

League: ETH

Foundation

Findings Distribution

Researcher Performance

Rank: 27/28

Findings: 1

Award: $181.02

🌟 Selected for report: 0

🚀 Solo Findings: 0

Findings Information

Awards

181.0202 USDC - $181.02

Labels

bug
QA (Quality Assurance)

External Links

Report

Just one small thing I've noticed

wrong pragma

The codebase uses custom errors. Those were introduced in Solidity 0.8.4. But most contracts use ^0.8.0. Instead, it should be ^0.8.4 since you can't compile them with anything below that.

#0 - HardlyDifficult

2022-03-03T11:58:32Z

This is a valid point. I went back and double checked, our main repository would need >= 0.8.12 in order to compile due to the use of string.concat (but that file is not in the contest repo).

We are not going to make this change just to ease the dev process. Updating the pragma when we take advantage of a new feature causes a large diff and that noise can make it harder to notice real changes we should be paying attention to.

We pin the compiler version in the hardhat config file.

This should be revisited if we were to open up in a way where other teams are importing our contracts to develop their own extensions.

#1 - alcueca

2022-03-17T09:29:18Z

Unadjusted score: 10

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