From ab0894a337e7fc3a35c614e3f83a0b0ad85e3345 Mon Sep 17 00:00:00 2001 From: Zach Kolodny Date: Wed, 15 May 2024 15:31:57 -0400 Subject: [PATCH] fix revert --- l1-contracts-foundry/script/DeployL1.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);