CompilerConfig
CompilerConfig:
object
Configuration of the solidity compiler When resolved with defaults it is a ResolvedCompilerConfig
Type declaration
cacheDir?
optionalcacheDir:string
Location of the tevm cache folder
debug?
optionaldebug: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?
optionalfoundryProject: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?
optionaljsonAsConst:string| readonlystring[]
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?
optionallibs: readonlystring[]
Sets directories to search for solidity imports in Read autoamtically for forge projects if forge: true
remappings?
optionalremappings:ReadonlyRecord<string,string>
Remap the location of contracts