Deploy token contract cannot work in zksync
observe the following code
zkSync Era's compiler needs to be aware of the deployed contract's bytecode in advance, as it internally completes the calldata arguments for the ContractDeployer system contract. The create function shown above will not work correctly because the bytecode is not known beforehand, leading to a potential malfunction of the contract deployment.
DeployToken Contract will not compile on zksync
Manual Review
Use create2 instead of create
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.