Skip to content

Commit

Permalink
spell fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed May 15, 2024
1 parent 2dfb996 commit 3d18057
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions l1-contracts/contracts/upgrades/BaseZkSyncUpgradeGenesis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.24;

import {MAX_ALLOWED_PROTOCOL_VERSION_DELTA} from "../common/Config.sol";
import {BaseZkSyncUpgrade} from "./BaseZkSyncUpgrade.sol";
import {ProtocolVersionShouldBeGreater, ProtocolVersionDeltaTooLarge, PreviousUprgadeNotFinalized, PreviousUpgradeBatchNotCleared} from "./ZkSyncUpgradeErrors.sol";
import {ProtocolVersionShouldBeGreater, ProtocolVersionDeltaTooLarge, PreviousUpgradeNotFinalized, PreviousUpgradeBatchNotCleared} from "./ZkSyncUpgradeErrors.sol";

/// @author Matter Labs
/// @custom:security-contact [email protected]
Expand All @@ -29,7 +29,7 @@ abstract contract BaseZkSyncUpgradeGenesis is BaseZkSyncUpgrade {

// If the previous upgrade had an L2 system upgrade transaction, we require that it is finalized.
if (s.l2SystemContractsUpgradeTxHash != bytes32(0)) {
revert PreviousUprgadeNotFinalized();
revert PreviousUpgradeNotFinalized();
}

if (
Expand Down
2 changes: 1 addition & 1 deletion l1-contracts/contracts/upgrades/ZkSyncUpgradeErrors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pragma solidity 0.8.24;

error ProtocolVersionShouldBeGreater(uint256 _oldProtocolVersion, uint256 _newProtocolVersion);
error ProtocolVersionDeltaTooLarge(uint256 _proposedDelta, uint256 _maxDelta);
error PreviousUprgadeNotFinalized();
error PreviousUpgradeNotFinalized();
error PreviousUpgradeBatchNotCleared();

0 comments on commit 3d18057

Please sign in to comment.