hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
12 lines • 756 B
TypeScript
import type { ChainType } from "../../../../../types/network.js";
import { L1HardforkName, OpHardforkName } from "../types/hardfork.js";
export declare function getL1HardforkName(name: string): L1HardforkName;
/**
* Prints a warning if `hardfork` is strictly beyond the latest stable hardfork
* for the given chain type (i.e. an experimental fork that EDR supports but
* hasn't promoted to latest yet). The warning is emitted at
* most once per (chainType, hardfork) pair for the lifetime of the process.
*/
export declare function warnIfExperimentalHardfork(hardfork: string, chainType: ChainType, warn?: (message: string) => void): void;
export declare function getOpHardforkName(name: string): OpHardforkName;
//# sourceMappingURL=hardfork.d.ts.map