hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
20 lines • 789 B
JavaScript
export const HARDHAT_CONFIG_PREFIX = "hardhat-config:";
export const FORGE_CONFIG_PREFIX = "forge-config:";
/** All supported inline config keys and their expected value types. */
export const KEY_TYPES = {
"fuzz.runs": "number",
"fuzz.maxTestRejects": "number",
"fuzz.showLogs": "boolean",
"fuzz.timeout": "number",
"invariant.runs": "number",
"invariant.depth": "number",
"invariant.failOnRevert": "boolean",
"invariant.callOverride": "boolean",
"invariant.timeout": "number",
allowInternalExpectRevert: "boolean",
};
/** Top-level key categories (e.g. "fuzz", "invariant", "allowInternalExpectRevert"). */
export const TOP_LEVEL_KEYS = [
...new Set(Object.keys(KEY_TYPES).map((k) => k.split(".")[0])),
];
//# sourceMappingURL=constants.js.map