Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

`Deploy.s.sol` deploy script cannot be deployed.

Summary

The protocol mentions that it will deploy the MerkleAirdrop contract via the Deploy.s.sol script using Makefile deploy command.

But the command doesn't have the label --zksync which will not allow the Deploy script to deploy the contract and along with that the command uses --verify for verification on the block explorer but foundry-zksync currently doesn't support verification.

Vulnerability Details

The vulnerability is present in the Makefile where the deploy command doesn't add the label --zksync to make it deployable on zkSync chain, and along with that --verify is not supported in foundry-zksync and it cannot be verified.

Impact

  • Deploy scripts will not be able to run.

  • As a result of which MerkleAirdrop contract will not be able to deploy.

Tools Used

Manual Review

Recommendations

Add --zksync label in the command.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Out of scope
shikhar229169 Submitter
about 1 year ago
inallhonesty Lead Judge
about 1 year ago
shikhar229169 Submitter
about 1 year ago
inallhonesty Lead Judge
about 1 year ago
inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Out of scope

Support

FAQs

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