SKALE contest - Tomio's results

The only Ethereum native multichain scaling network.

General Information

Platform: Code4rena

Start Date: 18/02/2022

Pot Size: $125,000 USDC

Total HM: 13

Participants: 24

Period: 14 days

Judge: GalloDaSballo

Total Solo HM: 6

Id: 88

League: ETH

SKALE

Findings Distribution

Researcher Performance

Rank: 23/24

Findings: 1

Award: $178.49

🌟 Selected for report: 0

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: IllIllI

Also found by: 0x1f8b, CertoraInc, TerrierLover, Tomio, WatchPug, d4rk, gzeon, kenta, kyliek, m_smirnova2020, rfa, robee, saian, ye0lde

Labels

bug
G (Gas Optimization)

Awards

178.4876 USDC - $178.49

External Links

  1. consider using ++i can save gas https://github.com/skalenetwork/ima-c4-audit/blob/main/contracts/MessageProxy.sol#L221 // gas cost 34321

change to:

for (uint256 i = from; i < to; ++i) {

// gas cost 34271

Tools used: Remix

========================================================================

  1. using multipe require can save gas https://github.com/skalenetwork/ima-c4-audit/blob/main/contracts/MessageProxy.sol#L216 // gas cost 34324

Change to:

require( from < to ); require( to - from <= 10 ); require( to < schainHash,"Range is incorrect");

// gas cost 34305

========================================================================

#0 - yavrsky

2022-03-14T15:10:30Z

Only marginal gas improvements.

#1 - GalloDaSballo

2022-04-28T15:43:53Z

consider using ++i can save gas

Saves 3 gas per instance

using multipe require can save gas

Saves the gas from the && 3 gas

6 gas total

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