set latest solidity to 0.8.24

pull/4494/head
aniket-engg 10 months ago
parent fc22bd7bdf
commit ba6c201671
  1. 2
      apps/remix-ide/ci/makeMockCompiler.js
  2. 2
      apps/solidity-compiler/src/app/compiler.ts
  3. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx
  4. 2
      libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx

@ -3,7 +3,7 @@
var fs = require('fs')
var compiler = require('solc')
var compilerInput = require('@remix-project/remix-solidity').CompilerInput
var defaultVersion = 'soljson-v0.8.22+commit.4fc1097e.js'
var defaultVersion = 'soljson-v0.8.24+commit.e11b9ed9.js'
const path = require('path')
compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => {

@ -9,7 +9,7 @@ import { CompileTabLogic } from '@remix-ui/solidity-compiler'
const defaultCompilerParameters = {
runs: '200',
optimize: false,
version: 'soljson-v0.8.22+commit.4fc1097e',
version: 'soljson-v0.8.24+commit.e11b9ed9',
evmVersion: null, // compiler default
language: 'Solidity',
useFileConfiguration: false,

@ -61,7 +61,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
downloaded: [],
compilerLicense: null,
selectedVersion: null,
defaultVersion: 'soljson-v0.8.22+commit.4fc1097e.js', // this default version is defined: in makeMockCompiler (for browser test)
defaultVersion: 'soljson-v0.8.24+commit.e11b9ed9.js', // this default version is defined: in makeMockCompiler (for browser test)
runs: '',
compiledFileName: '',
includeNightlies: false,

@ -39,7 +39,7 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => {
handleHide: null
},
solJsonBinData: null,
defaultVersion: 'soljson-v0.8.22+commit.4fc1097e.js', // this default version is defined: in makeMockCompiler (for browser test)
defaultVersion: 'soljson-v0.8.24+commit.e11b9ed9.js', // this default version is defined: in makeMockCompiler (for browser test)
})
const [currentVersion, setCurrentVersion] = useState('')
const [hideWarnings, setHideWarnings] = useState<boolean>(false)

Loading…
Cancel
Save