MyCut

AI First Flight #8
Beginner FriendlyFoundry
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

[L-2] PUSH0 Opcode may not work if deployed to incorrect EVM chain

[L-2] PUSH0 Opcode may not work if deployed to incorrect EVM chain

Description

Both src/ContestManager.sol and src/Pot.sol use solidity version ^0.8.20.

This PUSH0 opcode may not be supported on other chains besides Mainnet Ethereum.

Risk

Likelihood:

Errors will occur any time these contracts are deployed to EVM chains that don't support opcode PUSH0.

Impact:

Deploying to an EVM chain that does not support PUSH0 may result in unforseen errors.

Proof of Concept

Recommended Mitigation

Check documentation for any chain to which these contracts will be deployed.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 1 hour ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!