Axelar Network v2 contest - ReyAdmirado's results

Decentralized interoperability network.

General Information

Platform: Code4rena

Start Date: 29/07/2022

Pot Size: $50,000 USDC

Total HM: 6

Participants: 75

Period: 5 days

Judge: GalloDaSballo

Total Solo HM: 3

Id: 149

League: ETH

Axelar Network

Findings Distribution

Researcher Performance

Rank: 41/75

Findings: 2

Award: $88.00

🌟 Selected for report: 0

🚀 Solo Findings: 0

#0 - re1ro

2022-08-05T02:06:22Z

This by design. Targeted Moonbeam platform/developer doesn't support custom errors. Dup #13 (9)

#1 - re1ro

2022-08-23T02:02:32Z

Duplicate of #13

#2 - GalloDaSballo

2022-09-01T00:50:54Z

wrong cyntax for custom errors

Valid R

1. <array>.length should not be looked up in every loop of a for-loop

2. can make the variable outside the loop to save gas

3. better to use ++i than i++

4. it costs more gas to initialize variables to zero than to let the default of zero be applied

5. expressions for constant values such as a call to keccak256(), should use immutable rather than constant

6. use a more recent version of solidity

Use a solidity version of at least 0.8.10 to have external calls skip contract existence checks if the external call has a return value

7. ++i/i++ should be unchecked{++i}/unchecked{++i} when it is not possible for them to overflow, as is the case when used in for-loops and while-loops

#0 - re1ro

2022-08-05T02:03:56Z

1

Dup #2

2

Good spot. Dup #7

3

Dup #2

4

Dup #2

#5 Yup. Dup #12

6

Dup #3

7

Dup #2

#1 - GalloDaSballo

2022-08-23T01:06:18Z

5. expressions for constant values such as a call to keccak256(), should use immutable rather than constant

Debunked for over a year https://twitter.com/GalloDaSballo/status/1543729080926871557

Around 300 gas saved

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