Update hardhat-exposed to remove mock/_import.sol (#4879)

This commit is contained in:
Hadrien Croubois
2024-02-06 20:16:47 +01:00
committed by GitHub
parent 9d3b9be04f
commit e73913c3c1
3 changed files with 5 additions and 45 deletions

View File

@ -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).
}

8
package-lock.json generated
View File

@ -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",

View File

@ -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",