Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: high
Valid

The ```TokenFactory.sol``` can't deploy on the ZKSync Era

Summary

The TokenFactory.sol can't deploy on the ZKSync Era

Vulnerability Details

According to this article Differences from Ethereum | Welcome to our Docs | zkSync Era Docs, the TokenFactory.sol will not function correctly because the compiler is not aware of the bytecode beforehand.

Impact

The TokenFactory.sol can't deploy on the ZKSync Era

Tools Used

manual

Recommendations

consider using this

assembly {
addr := create(0, add(bytecode, 32), mload(bytecode))
}
Updates

Lead Judging Commences

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

deployToken(): zksync compatibility issues

Support

FAQs

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