Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Raid Ateir committed Dec 17, 2024
1 parent 250de04 commit 28dee17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion l1-contracts/contracts/common/libraries/Merkle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ library Merkle {

/// @dev Calculate Merkle root by the provided Merkle proof.
/// NOTE: When using this function, check that the _path length is equal to the tree height to prevent shorter/longer paths attack
/// however, for chains settling on GW the proof includes the GW proof, so the path increases. See Mailbox for more details.
/// @param _path Merkle path from the leaf to the root
/// @param _index Leaf index in the tree
/// @param _itemHash Hash of leaf content
Expand Down
3 changes: 0 additions & 3 deletions l1-contracts/contracts/upgrades/L1GenesisUpgrade.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {IBridgehub} from "../bridgehub/IBridgehub.sol";

import {VerifierParams} from "../state-transition/chain-interfaces/IVerifier.sol";
import {L2ContractHelper} from "../common/libraries/L2ContractHelper.sol";
import {L1GatewayHelper} from "./L1GatewayHelper.sol";

/// @author Matter Labs
/// @custom:security-contact [email protected]
Expand All @@ -39,8 +38,6 @@ contract L1GenesisUpgrade is IL1GenesisUpgrade, BaseZkSyncUpgradeGenesis {
bytes calldata _forceDeploymentsData,
bytes[] calldata _factoryDeps
) public override returns (bytes32) {
address baseTokenAddress = IBridgehub(s.bridgehub).baseToken(_chainId);

L2CanonicalTransaction memory l2ProtocolUpgradeTx;

{
Expand Down

0 comments on commit 28dee17

Please sign in to comment.