DeFiHardhatFoundry
250,000 USDC
View results
Submission Details
Severity: low
Invalid

Some L2s can't support chainlink price feeds

Summary

Some L2s can't support chainlink price feeds

Vulnerability Details

About reseed L2, sponsors confirm in discord:

L2: EVM equivalent L2s;
anything hardcoded in that relies on assumptions specific to eth mainnet would also be valid, regardless of L2. things like block time, gas costs, fee based ordering of transactions, available opcodes, etc.

Beanstalk protocol uses chainlink price feeds to get ETH/USD price and stETH/ETH price. Chainlink price feeds is available on Arbitrum/Optimism/BASE/Metis/Scroll. Other L2s don't support chainlink price feeds for now.

Impact

Can't get necessary price in some L2s using current oracle code.

Tools Used

manual

Recommendations

Don't reseed L2 which won't support chainlink price feed or use another price feeds like pyth.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational/Gas

Invalid as per docs https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity

`stETH:ETH` price feed not available everywhere

Support

FAQs

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