Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion packages/api/src/lib/compiler/type/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ export interface CondensedCompilationInput {
optimize: boolean
/** e.g: 0.6.8+commit.0bbfe453 */
version: string
evmVersion?: 'istanbul' | 'petersburg' | 'constantinople' | 'byzantium' | 'spuriousDragon' | 'tangerineWhistle' | 'homestead'
evmVersion?:
| 'cancun'
| 'shanghai'
| 'paris'
| 'london'
| 'berlin'
| 'istanbul'
| 'petersburg'
| 'constantinople'
| 'byzantium'
| 'spuriousDragon'
| 'tangerineWhistle'
| 'homestead'
}

/////////////
Expand Down Expand Up @@ -50,6 +62,11 @@ export interface CompilerSettings {
optimizer?: Partial<CompilerOptimizer>
/** Version of the EVM to compile for. Affects type checking and code generation */
evmVersion:
| 'cancun'
| 'shanghai'
| 'paris'
| 'london'
| 'berlin'
| 'homestead'
| 'tangerineWhistle'
| 'spuriousDragon'
Expand Down