diff --git a/apps/remix-ide/ci/makeMockCompiler.js b/apps/remix-ide/ci/makeMockCompiler.js index 57c9fbe372..3713874d86 100644 --- a/apps/remix-ide/ci/makeMockCompiler.js +++ b/apps/remix-ide/ci/makeMockCompiler.js @@ -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.19+commit.7dd6d404' +var defaultVersion = 'soljson-v0.8.19+commit.7dd6d404.js' const path = require('path') compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => { diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index 4d5536adb4..d8fbe671bb 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -54,7 +54,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { customVersions: [], compilerLicense: null, selectedVersion: null, - defaultVersion: 'soljson-v0.8.19+commit.7dd6d404', // this default version is defined: in makeMockCompiler (for browser test) + defaultVersion: 'soljson-v0.8.19+commit.7dd6d404.js', // this default version is defined: in makeMockCompiler (for browser test) runs: '', compiledFileName: '', includeNightlies: false,