Skip to content

Commit 9b109fd

Browse files
committed
update EVMs
1 parent ba6c201 commit 9b109fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libs/remix-solidity/src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export interface CompilerInputOptions {
151151
remappings?: string[]
152152
}
153153

154-
export type EVMVersion = 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople' | 'petersburg' | 'istanbul' | 'berlin' | 'london' | 'paris' | null
154+
export type EVMVersion = 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople' | 'petersburg' | 'istanbul' | 'berlin' | 'london' | 'paris' | 'shanghai' | 'cancun' | null
155155

156156
export type Language = 'Solidity' | 'Yul'
157157

libs/remix-ui/editor/src/lib/remix-plugin-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ declare interface CondensedCompilationInput {
226226
optimize: boolean
227227
/** e.g: 0.6.8+commit.0bbfe453 */
228228
version: string
229-
evmVersion?: 'paris' | 'berlin' | 'istanbul' | 'petersburg' | 'constantinople' | 'byzantium' | 'spuriousDragon' | 'tangerineWhistle' | 'homestead'
229+
evmVersion?: 'cancun' | 'shanghai' | 'paris' | 'berlin' | 'istanbul' | 'petersburg' | 'constantinople' | 'byzantium' | 'spuriousDragon' | 'tangerineWhistle' | 'homestead'
230230
}
231231
232232
declare interface ContentImport {

libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class CompileTabLogic {
2828
this.contentImport = contentImport
2929
this.event = new EventEmitter()
3030
this.compiler = new Compiler((url, cb) => api.resolveContentAndSave(url).then((result) => cb(null, result)).catch((error) => cb(error.message)))
31-
this.evmVersions = ['default', 'shanghai', 'paris', 'london', 'berlin', 'istanbul', 'petersburg', 'constantinople', 'byzantium', 'spuriousDragon', 'tangerineWhistle', 'homestead']
31+
this.evmVersions = ['default', 'cancun', 'shanghai', 'paris', 'london', 'berlin', 'istanbul', 'petersburg', 'constantinople', 'byzantium', 'spuriousDragon', 'tangerineWhistle', 'homestead']
3232
}
3333

3434
init () {

0 commit comments

Comments
 (0)