Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Sep 23, 2024
1 parent df00c73 commit a8bf0ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion l1-contracts/deploy-scripts/GatewayCTMFromL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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""));
}
Expand Down
5 changes: 1 addition & 4 deletions l1-contracts/deploy-scripts/L2ContractsBytecodesLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a8bf0ca

Please sign in to comment.