File tree 4 files changed +56
-52
lines changed
4 files changed +56
-52
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ import type { HardhatRuntimeEnvironment } from "./types/hre.js";
6
6
import { HardhatRuntimeEnvironmentImplementation } from "./internal/hre.js" ;
7
7
8
8
/**
9
- * Creates an instances of the Hardhat Runtime Environment.
9
+ * Creates an instances of the Hardhat Runtime Environment without any of the
10
+ * built-in plugins.
11
+ *
12
+ * To get the built-in plugins, use `createHardhatRuntimeEnvironment` from
13
+ * `hardhat/hre` instead.
10
14
*
11
15
* @param config - The user's Hardhat configuration.
12
16
* @param userProvidedGlobalOptions - The global options provided by the
@@ -15,7 +19,7 @@ import { HardhatRuntimeEnvironmentImplementation } from "./internal/hre.js";
15
19
* redoing it in the CLI. Should only be used in the official CLI.
16
20
* @returns The Hardhat Runtime Environment.
17
21
*/
18
- export async function createHardhatRuntimeEnvironment (
22
+ export async function createBaseHardhatRuntimeEnvironment (
19
23
config : HardhatUserConfig ,
20
24
userProvidedGlobalOptions : Partial < GlobalOptions > = { } ,
21
25
unsafeOptions ?: UnsafeHardhatRuntimeEnvironmentOptions ,
You can’t perform that action at this time.
0 commit comments