From 99264704c9b04eec34ae76fe3c2c06bb189b2fe3 Mon Sep 17 00:00:00 2001 From: Stanislav Breadless Date: Mon, 8 Jan 2024 00:33:56 +0100 Subject: [PATCH] remove unexplicit imports --- contracts/BootloaderUtilities.sol | 8 ++++---- contracts/ImmutableSimulator.sol | 2 +- contracts/MsgValueSimulator.sol | 6 +++--- contracts/NonceHolder.sol | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contracts/BootloaderUtilities.sol b/contracts/BootloaderUtilities.sol index 49467bdc..20a21eb9 100644 --- a/contracts/BootloaderUtilities.sol +++ b/contracts/BootloaderUtilities.sol @@ -2,10 +2,10 @@ pragma solidity 0.8.20; -import "./interfaces/IBootloaderUtilities.sol"; -import "./libraries/TransactionHelper.sol"; -import "./libraries/RLPEncoder.sol"; -import "./libraries/EfficientCall.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"; /** * @author Matter Labs diff --git a/contracts/ImmutableSimulator.sol b/contracts/ImmutableSimulator.sol index a018c92a..15dc42cf 100644 --- a/contracts/ImmutableSimulator.sol +++ b/contracts/ImmutableSimulator.sol @@ -2,7 +2,7 @@ pragma solidity 0.8.20; -import "./interfaces/IImmutableSimulator.sol"; +import {IImmutableSimulator, ImmutableData} from "./interfaces/IImmutableSimulator.sol"; import {DEPLOYER_SYSTEM_CONTRACT} from "./Constants.sol"; /** diff --git a/contracts/MsgValueSimulator.sol b/contracts/MsgValueSimulator.sol index 07ed23d4..3e75ebc2 100644 --- a/contracts/MsgValueSimulator.sol +++ b/contracts/MsgValueSimulator.sol @@ -2,9 +2,9 @@ pragma solidity 0.8.20; -import "./libraries/Utils.sol"; -import "./libraries/EfficientCall.sol"; -import "./interfaces/ISystemContract.sol"; +import {Utils} from "./libraries/Utils.sol"; +import {EfficientCall} from "./libraries/EfficientCall.sol"; +import {ISystemContract} from "./interfaces/ISystemContract.sol"; import {SystemContractHelper} from "./libraries/SystemContractHelper.sol"; import {MSG_VALUE_SIMULATOR_IS_SYSTEM_BIT, ETH_TOKEN_SYSTEM_CONTRACT} from "./Constants.sol"; diff --git a/contracts/NonceHolder.sol b/contracts/NonceHolder.sol index b2775f1c..6f4ff035 100644 --- a/contracts/NonceHolder.sol +++ b/contracts/NonceHolder.sol @@ -2,8 +2,8 @@ pragma solidity 0.8.20; -import "./interfaces/INonceHolder.sol"; -import "./interfaces/IContractDeployer.sol"; +import {INonceHolder} from "./interfaces/INonceHolder.sol"; +import {IContractDeployer} from "./interfaces/IContractDeployer.sol"; import {ISystemContract} from "./interfaces/ISystemContract.sol"; import {DEPLOYER_SYSTEM_CONTRACT} from "./Constants.sol";