diff --git a/contracts/mocks/_import.sol b/contracts/mocks/_import.sol deleted file mode 100644 index 726b084c5b8..00000000000 --- a/contracts/mocks/_import.sol +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-License-Identifier: MIT - -pragma solidity ^0.8.20; - -import {Address} from "../utils/Address.sol"; -import {Arrays} from "../utils/Arrays.sol"; -import {Base64} from "../utils/Base64.sol"; -import {BitMaps} from "../utils/structs/BitMaps.sol"; -import {Checkpoints} from "../utils/structs/Checkpoints.sol"; -import {Context} from "../utils/Context.sol"; -import {Create2} from "../utils/Create2.sol"; -import {DoubleEndedQueue} from "../utils/structs/DoubleEndedQueue.sol"; -import {ECDSA} from "../utils/cryptography/ECDSA.sol"; -import {EIP712} from "../utils/cryptography/EIP712.sol"; -import {EnumerableMap} from "../utils/structs/EnumerableMap.sol"; -import {EnumerableSet} from "../utils/structs/EnumerableSet.sol"; -import {ERC165} from "../utils/introspection/ERC165.sol"; -import {ERC165Checker} from "../utils/introspection/ERC165Checker.sol"; -import {IERC165} from "../utils/introspection/IERC165.sol"; -import {Math} from "../utils/math/Math.sol"; -import {MerkleProof} from "../utils/cryptography/MerkleProof.sol"; -import {MessageHashUtils} from "../utils/cryptography/MessageHashUtils.sol"; -import {Multicall} from "../utils/Multicall.sol"; -import {Nonces} from "../utils/Nonces.sol"; -import {Panic} from "../utils/Panic.sol"; -import {Pausable} from "../utils/Pausable.sol"; -import {ReentrancyGuard} from "../utils/ReentrancyGuard.sol"; -import {SafeCast} from "../utils/math/SafeCast.sol"; -import {ShortStrings} from "../utils/ShortStrings.sol"; -import {SignatureChecker} from "../utils/cryptography/SignatureChecker.sol"; -import {SignedMath} from "../utils/math/SignedMath.sol"; -import {StorageSlot} from "../utils/StorageSlot.sol"; -import {Strings} from "../utils/Strings.sol"; -import {Time} from "../utils/types/Time.sol"; - -abstract contract ExposeImports { - // This will be transpiled, causing all the imports above to be transpiled when running the upgradeable tests. - // This trick is necessary for testing libraries such as Panic.sol (which are not imported by any other transpiled - // contracts and would otherwise not be exposed). -} diff --git a/package-lock.json b/package-lock.json index be38fefdd8e..59aeaf2a8b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "glob": "^10.3.5", "graphlib": "^2.1.8", "hardhat": "^2.17.4", - "hardhat-exposed": "^0.3.13", + "hardhat-exposed": "^0.3.14-0", "hardhat-gas-reporter": "^1.0.9", "hardhat-ignore-warnings": "^0.2.0", "lodash.startcase": "^4.4.0", @@ -6092,9 +6092,9 @@ } }, "node_modules/hardhat-exposed": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/hardhat-exposed/-/hardhat-exposed-0.3.13.tgz", - "integrity": "sha512-hY2qCYSi2wD2ChZ0WP0oEPS4zlZ2vGaLOVXvfosGcy6mNeQ+pWsxTge35tTumCHwCzk/dYxLZq+KW0Z5t08yDA==", + "version": "0.3.14-0", + "resolved": "https://registry.npmjs.org/hardhat-exposed/-/hardhat-exposed-0.3.14-0.tgz", + "integrity": "sha512-NvosgpUOGkum+m6oWPweoUDu5XErJpdGhdb9/bhgppVQfbBDA10e1tcvqiVqgc6K1XQT43roVGQ96WO0SU33Sg==", "dev": true, "dependencies": { "micromatch": "^4.0.4", diff --git a/package.json b/package.json index 88876701751..ff4f03ade08 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "glob": "^10.3.5", "graphlib": "^2.1.8", "hardhat": "^2.17.4", - "hardhat-exposed": "^0.3.13", + "hardhat-exposed": "^0.3.14-0", "hardhat-gas-reporter": "^1.0.9", "hardhat-ignore-warnings": "^0.2.0", "lodash.startcase": "^4.4.0",