Skip to content

ResolvedCompilerConfig

ResolvedCompilerConfig: object

A fully resolved compiler config with defaults filled in See CompilerConfig

Type declaration

cacheDir

cacheDir: string

Location of the tevm cache folder

debug?

optional debug: boolean

If debug is true tevm will write the .d.ts files in the ts server and publish extra debug info to a debug file

foundryProject

foundryProject: boolean | string

If set to true it will resolve forge remappings and libs Set to “path/to/forge/executable” to use a custom forge executable

jsonAsConst

jsonAsConst: readonly string[]

A glob pattern or array of glob patterns indicating which ABIs should be resolved as const. This allows for more precise typing of ABIs in TypeScript.

libs

libs: readonly string[]

Sets directories to search for solidity imports in Read autoamtically for forge projects if forge: true

remappings

remappings: ReadonlyRecord<string, string>

Remap the location of contracts

Defined in

bundler-packages/config/src/types.ts:50