@ -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.21+commit.d9974bed.js'
var defaultVersion = 'soljson-v0.8.20+commit.a1b79de6.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.21+commit.d9974bed',
version: 'soljson-v0.8.20+commit.a1b79de6',
evmVersion: null, // compiler default
language: 'Solidity',
useFileConfiguration: false,
@ -54,7 +54,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
customVersions: [],
compilerLicense: null,
selectedVersion: null,
defaultVersion: 'soljson-v0.8.21+commit.d9974bed.js', // this default version is defined: in makeMockCompiler (for browser test)
defaultVersion: 'soljson-v0.8.20+commit.a1b79de6', // this default version is defined: in makeMockCompiler (for browser test)
runs: '',
compiledFileName: '',
includeNightlies: false,