diff --git a/l1-contracts-foundry/script/DeployL1.s.sol b/l1-contracts-foundry/script/DeployL1.s.sol index 55f185e5d..5de6f76b0 100644 --- a/l1-contracts-foundry/script/DeployL1.s.sol +++ b/l1-contracts-foundry/script/DeployL1.s.sol @@ -215,7 +215,7 @@ contract DeployL1Script is Script { if (isConfigured) { if (config.contracts.create2FactoryAddr.code.length == 0) { - revert AddressHasNoCode(ZksyncContract.Create2Factory); + revert AddressHasNoCode(config.contracts.create2FactoryAddr); } contractAddress = config.contracts.create2FactoryAddr; console.log("Using configured Create2Factory address:", contractAddress);