add paris EVM

pull/3362/head
Aniket-Engg 2 years ago
parent 94104df6d7
commit cf4cd6d771
  1. 2
      libs/remix-solidity/src/compiler/types.ts
  2. 2
      libs/remix-ui/editor/src/lib/remix-plugin-types.ts
  3. 2
      libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts

@ -150,7 +150,7 @@ export interface CompilerInputOptions {
language?: Language language?: Language
} }
export type EVMVersion = 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople' | 'petersburg' | 'istanbul' | 'berlin' | 'london' | null export type EVMVersion = 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople' | 'petersburg' | 'istanbul' | 'berlin' | 'london' | 'paris' | null
export type Language = 'Solidity' | 'Yul' export type Language = 'Solidity' | 'Yul'

@ -226,7 +226,7 @@ declare interface CondensedCompilationInput {
optimize: boolean optimize: boolean
/** e.g: 0.6.8+commit.0bbfe453 */ /** e.g: 0.6.8+commit.0bbfe453 */
version: string version: string
evmVersion?: 'berlin' | 'istanbul' | 'petersburg' | 'constantinople' | 'byzantium' | 'spuriousDragon' | 'tangerineWhistle' | 'homestead' evmVersion?: 'paris' | 'berlin' | 'istanbul' | 'petersburg' | 'constantinople' | 'byzantium' | 'spuriousDragon' | 'tangerineWhistle' | 'homestead'
} }
declare interface ContentImport { declare interface ContentImport {

@ -28,7 +28,7 @@ export class CompileTabLogic {
this.contentImport = contentImport this.contentImport = contentImport
this.event = new EventEmitter() this.event = new EventEmitter()
this.compiler = new Compiler((url, cb) => api.resolveContentAndSave(url).then((result) => cb(null, result)).catch((error) => cb(error.message))) this.compiler = new Compiler((url, cb) => api.resolveContentAndSave(url).then((result) => cb(null, result)).catch((error) => cb(error.message)))
this.evmVersions = ['default', 'london', 'berlin', 'istanbul', 'petersburg', 'constantinople', 'byzantium', 'spuriousDragon', 'tangerineWhistle', 'homestead'] this.evmVersions = ['default', 'paris', 'london', 'berlin', 'istanbul', 'petersburg', 'constantinople', 'byzantium', 'spuriousDragon', 'tangerineWhistle', 'homestead']
} }
init () { init () {

Loading…
Cancel
Save