Skip to content

Commit

Permalink
Merge branch 'dev' into ib-circuit-transfer-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Barichek authored Nov 9, 2021
2 parents 332abfa + 9561054 commit 26f6716
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/contracts/DeployFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ 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);
Expand Down
4 changes: 4 additions & 0 deletions contracts/contracts/ZkSync.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ contract ZkSync is UpgradeableMaster, Storage, Config, Events, ReentrancyGuard {
return !exodusMode;
}

constructor() {
initializeReentrancyGuard();
}

/// @notice zkSync contract initialization. Can be external because Proxy contract intercepts illegal calls of this function.
/// @param initializationParameters Encoded representation of initialization parameters:
/// @dev _governanceAddress The address of Governance contract
Expand Down

0 comments on commit 26f6716

Please sign in to comment.