Skip to content

Commit ad05638

Browse files
authored
Merge pull request #4494 from ethereum/solv0824
set latest solidity compiler version to 0.8.24
2 parents fc22bd7 + 9b109fd commit ad05638

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

apps/remix-ide/ci/makeMockCompiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var fs = require('fs')
44
var compiler = require('solc')
55
var compilerInput = require('@remix-project/remix-solidity').CompilerInput
6-
var defaultVersion = 'soljson-v0.8.22+commit.4fc1097e.js'
6+
var defaultVersion = 'soljson-v0.8.24+commit.e11b9ed9.js'
77
const path = require('path')
88

99
compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => {

apps/solidity-compiler/src/app/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { CompileTabLogic } from '@remix-ui/solidity-compiler'
99
const defaultCompilerParameters = {
1010
runs: '200',
1111
optimize: false,
12-
version: 'soljson-v0.8.22+commit.4fc1097e',
12+
version: 'soljson-v0.8.24+commit.e11b9ed9',
1313
evmVersion: null, // compiler default
1414
language: 'Solidity',
1515
useFileConfiguration: false,

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/compiler-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
6161
downloaded: [],
6262
compilerLicense: null,
6363
selectedVersion: null,
64-
defaultVersion: 'soljson-v0.8.22+commit.4fc1097e.js', // this default version is defined: in makeMockCompiler (for browser test)
64+
defaultVersion: 'soljson-v0.8.24+commit.e11b9ed9.js', // this default version is defined: in makeMockCompiler (for browser test)
6565
runs: '',
6666
compiledFileName: '',
6767
includeNightlies: false,

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 () {

libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => {
3939
handleHide: null
4040
},
4141
solJsonBinData: null,
42-
defaultVersion: 'soljson-v0.8.22+commit.4fc1097e.js', // this default version is defined: in makeMockCompiler (for browser test)
42+
defaultVersion: 'soljson-v0.8.24+commit.e11b9ed9.js', // this default version is defined: in makeMockCompiler (for browser test)
4343
})
4444
const [currentVersion, setCurrentVersion] = useState('')
4545
const [hideWarnings, setHideWarnings] = useState<boolean>(false)

0 commit comments

Comments
 (0)