Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Valid

ZkSync doesn't support the Vyper compiler version used

Description

The version of Vyper utilized in this project is v0.4.0b1, intended for deployment on Ethereum, Arbitrum, and ZkSync. However, ZkSync employs a specific compiler called zkvyper to generate adapted bytecode for its zkEVM. Notably, the only supported Vyper versions for ZkSync are 0.3.3, 0.3.9, and 0.3.10.

For further information, refer to the ZkSync official documentation

Risk

Likelyhood:

  • Occurs with every deployment on ZkSync

Impact:

  • Inability to compile a version suitable for ZkSync or potential unexpected behavior on-chain

Recommended Mitigation

Consider waiting for a more recent version to be supported by ZkSync or utilize a Vyper version compatible with ZkSync: 0.3.3, 0.3.9, or 0.3.10.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

zkSync not compatible with Vyper version

https://docs.zksync.io/build/developer-reference/contract-development.html

Support

FAQs

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