fix depoly factory
@@ -9,6 +9,7 @@ import "./ZkSync.sol";
import "./Verifier.sol";
import "./TokenInit.sol";
import "./AdditionalZkSync.sol";
+import "./ZkSync.sol";
contract DeployFactory is TokenDeployInit {
// Why do we deploy contracts in the constructor?
@@ -40,6 +41,8 @@ contract DeployFactory is TokenDeployInit {
require(_governor != address(0), "governor check");
require(_feeAccountAddress != address(0), "fee acc address check");
+ ZkSync(_zkSyncTarget).initialize(abi.encode(address(0), address(0), address(0), bytes32(0)));
+
deployProxyContracts(_govTarget, _verifierTarget, _zkSyncTarget, _genesisRoot, _firstValidator, _governor);
selfdestruct(msg.sender);
