Connext Amarok contest - nahnah's results

The interoperability protocol of L2 Ethereum.

General Information

Platform: Code4rena

Start Date: 08/06/2022

Pot Size: $115,000 USDC

Total HM: 26

Participants: 72

Period: 11 days

Judge: leastwood

Total Solo HM: 14

Id: 132

League: ETH

Connext

Findings Distribution

Researcher Performance

Rank: 72/72

Findings: 1

Award: $84.50

🌟 Selected for report: 0

🚀 Solo Findings: 0

Packing Variable in LibConnextStorage.sol

POC https://github.com/code-423n4/2022-06-connext/blob/main/contracts/contracts/core/connext/libraries/LibConnextStorage.sol#L259

we can change _status variable from uint256 to uint8 because it doesn't need that much informations for ReentrancyGuard. and we can put bool _assetOwnershipRenounced; bool _routerOwnershipRenounced; and uint8 _status below address _proposed to be packed in single slot, because they occupy 23 bytes of 32byte memory slot

ex: address _proposed; bool _assetOwnershipRenounced; bool _routerOwnershipRenounced; uint8 _status;

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