Set default solidity to 0.8.21

pull/4165/head
aniket-engg 1 year ago committed by Aniket
parent ca73f3660c
commit 6571c2333e
  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

@ -3,7 +3,7 @@
var fs = require('fs') var fs = require('fs')
var compiler = require('solc') var compiler = require('solc')
var compilerInput = require('@remix-project/remix-solidity').CompilerInput var compilerInput = require('@remix-project/remix-solidity').CompilerInput
var defaultVersion = 'soljson-v0.8.18+commit.87f61d96.js' var defaultVersion = 'soljson-v0.8.21+commit.d9974bed.js'
const path = require('path') const path = require('path')
compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => { compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => {

@ -9,7 +9,7 @@ import { CompileTabLogic } from '@remix-ui/solidity-compiler'
const defaultCompilerParameters = { const defaultCompilerParameters = {
runs: '200', runs: '200',
optimize: false, optimize: false,
version: 'soljson-v0.8.18+commit.87f61d96', version: 'soljson-v0.8.21+commit.d9974bed',
evmVersion: null, // compiler default evmVersion: null, // compiler default
language: 'Solidity', language: 'Solidity',
useFileConfiguration: false, useFileConfiguration: false,

@ -54,7 +54,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
customVersions: [], customVersions: [],
compilerLicense: null, compilerLicense: null,
selectedVersion: null, selectedVersion: null,
defaultVersion: 'soljson-v0.8.18+commit.87f61d96.js', // this default version is defined: in makeMockCompiler (for browser test) defaultVersion: 'soljson-v0.8.21+commit.d9974bed.js', // this default version is defined: in makeMockCompiler (for browser test)
runs: '', runs: '',
compiledFileName: '', compiledFileName: '',
includeNightlies: false, includeNightlies: false,

Loading…
Cancel
Save