Skip to content

Commit

Permalink
fix revert
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed May 15, 2024
1 parent ad3d2f1 commit ab0894a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l1-contracts-foundry/script/DeployL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ab0894a

Please sign in to comment.