Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Jan 9, 2024
1 parent 64c742d commit 6e93cb6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion system-contracts/contracts/BootloaderUtilities.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity 0.8.20;

import {IBootloaderUtilities} from "./interfaces/IBootloaderUtilities.sol";
import {IBootloaderUtilities} from "./interfaces/IBootloaderUtilities.sol";
import {Transaction, TransactionHelper, EIP_712_TX_TYPE, LEGACY_TX_TYPE, EIP_2930_TX_TYPE, EIP_1559_TX_TYPE} from "./libraries/TransactionHelper.sol";
import {RLPEncoder} from "./libraries/RLPEncoder.sol";
import {EfficientCall} from "./libraries/EfficientCall.sol";
Expand Down
4 changes: 2 additions & 2 deletions system-contracts/contracts/NonceHolder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import {DEPLOYER_SYSTEM_CONTRACT} from "./Constants.sol";
* here serve more as a help to users to prevent from doing mistakes, rather than any invariants.
*/
contract NonceHolder is INonceHolder, ISystemContract {
uint256 constant private DEPLOY_NONCE_MULTIPLIER = 2 ** 128;
uint256 private constant DEPLOY_NONCE_MULTIPLIER = 2 ** 128;
/// The minNonce can be increased by at 2^32 at a time to prevent it from
/// overflowing beyond 2**128.
uint256 constant private MAXIMAL_MIN_NONCE_INCREMENT = 2 ** 32;
uint256 private constant MAXIMAL_MIN_NONCE_INCREMENT = 2 ** 32;

/// RawNonces for accounts are stored in format
/// minNonce + 2^128 * deploymentNonce, where deploymentNonce
Expand Down
4 changes: 2 additions & 2 deletions system-contracts/contracts/interfaces/ICompressor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ uint8 constant MAX_ENUMERATION_INDEX_SIZE = 8;
/**
* @author Matter Labs
* @custom:security-contact [email protected]
* @notice The interface for the Compressor contract, responsible for verifying the correctness of
* the compression of the state diffs and bytecodes.
* @notice The interface for the Compressor contract, responsible for verifying the correctness of
* the compression of the state diffs and bytecodes.
*/
interface ICompressor {
function publishCompressedBytecode(
Expand Down
2 changes: 0 additions & 2 deletions system-contracts/contracts/interfaces/ISystemContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pragma solidity 0.8.20;
import {SystemContractHelper} from "../libraries/SystemContractHelper.sol";
import {BOOTLOADER_FORMAL_ADDRESS} from "../Constants.sol";



/**
* @author Matter Labs
* @custom:security-contact [email protected]
Expand Down

0 comments on commit 6e93cb6

Please sign in to comment.