Skip to content

Commit

Permalink
(fix): merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Raid Ateir committed Oct 30, 2024
1 parent 93d4bb9 commit f569e00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
33 changes: 0 additions & 33 deletions l1-contracts/contracts/common/interfaces/IL2ContractDeployer.sol

This file was deleted.

2 changes: 1 addition & 1 deletion l1-contracts/contracts/governance/PermanentRestriction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ contract PermanentRestriction is IRestriction, IPermanentRestriction, Ownable2St

// Note, that we do not use an explicit call here to ensure that the function does not panic in case of
// incorrect `_chain` address.
(bool success, bytes memory data) = _chain.staticcall(abi.encodeCall(IGetters.getChainId));
(bool success, bytes memory data) = _chain.staticcall(abi.encodeCall(IGetters.getChainId, ()));
if (!success || data.length < 32) {
revert NotAHyperchain(_chain);
}
Expand Down
10 changes: 1 addition & 9 deletions l1-contracts/contracts/upgrades/L1GenesisUpgrade.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,13 @@ import {L2ContractHelper} from "../common/libraries/L2ContractHelper.sol";
/// @author Matter Labs
/// @custom:security-contact [email protected]
contract L1GenesisUpgrade is IL1GenesisUpgrade, BaseZkSyncUpgradeGenesis {
<<<<<<< HEAD
<<<<<<< HEAD
/// @notice The main function that will be called by the Admin facet.
/// @notice The main function that will be delegate-called by the chain Admin facet.
/// @param _l1GenesisUpgrade the address of the l1 genesis upgrade
/// @param _chainId the chain id
/// @param _protocolVersion the current protocol version
/// @param _l1CtmDeployerAddress the address of the l1 ctm deployer
/// @param _forceDeploymentsData the force deployments data
/// @param _factoryDeps the factory dependencies
=======
/// @notice The main function that will be delegate called by the upgrade proxy.
>>>>>>> origin/kl/n04-library
=======
/// @notice The main function that will be delegate-called by the chain.
>>>>>>> origin/sb-n07-library-fix-review
function genesisUpgrade(
address _l1GenesisUpgrade,
uint256 _chainId,
Expand Down

0 comments on commit f569e00

Please sign in to comment.