From a8bf0ca28d43899882a2e123e2fdf1379f0fd656 Mon Sep 17 00:00:00 2001 From: Stanislav Breadless Date: Mon, 23 Sep 2024 17:26:30 +0200 Subject: [PATCH] fix lint --- l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol | 4 +++- l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol b/l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol index 3051d3d15..6f17c234c 100644 --- a/l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol +++ b/l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol @@ -277,7 +277,9 @@ contract GatewayCTMFromL1 is Script { function deployGatewayVerifier() internal returns (address verifier) { if (config.testnetVerifier) { - verifier = address(_deployInternal(L2ContractsBytecodesLib.readL2TestnetVerifierBytecode(), abi.encode(config.l1ChainId))); + verifier = address( + _deployInternal(L2ContractsBytecodesLib.readL2TestnetVerifierBytecode(), abi.encode(config.l1ChainId)) + ); } else { verifier = address(_deployInternal(L2ContractsBytecodesLib.readL2VerifierBytecode(), hex"")); } diff --git a/l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol b/l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol index 93423cda1..b9481c578 100644 --- a/l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol +++ b/l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol @@ -160,10 +160,7 @@ library L2ContractsBytecodesLib { /// @notice Reads the bytecode of the L2 Verifier contract. /// @return The bytecode of the Verifier contract. function readL2VerifierBytecode() internal view returns (bytes memory) { - return - Utils.readHardhatBytecode( - "/../l2-contracts/artifacts-zk/contracts/verifier/Verifier.sol/Verifier.json" - ); + return Utils.readHardhatBytecode("/../l2-contracts/artifacts-zk/contracts/verifier/Verifier.sol/Verifier.json"); } /// @notice Reads the bytecode of the Verifier contract.