HardhatDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

Aave v3 provides a more gas efficient method for L2

Summary

For L2 chains Aave V3 provides another supply() method. The L2Pool contract is a calldata optimized extension of the Pool contract allowing users to pass compact calldata representation to reduce transaction costs on L2 rollups.

  • https://aave.com/docs/developers/smart-contracts/l2-pool

Impact

Gas fee for execution can be further reduces which supplying collateral to Aave on Arbitrum L2.

  • https://github.com/Cyfrin/2025-01-diva/blob/main/contracts/src/AaveDIVAWrapperCore.sol#L431C1-L436C11

Tools Used

Manual Review

Recommendations

A chain.id check can be added to handle Aave supply() call differently for Arbitrum contract.

Updates

Lead Judging Commences

bube Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.