From 8646491fd2cd311f3f80e7521af3f409777fe09f Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 13 Feb 2023 11:57:37 +0530 Subject: [PATCH] set default to 0.8.18 --- apps/remix-ide/ci/makeMockCompiler.js | 2 +- apps/solidity-compiler/src/app/compiler.ts | 2 +- .../remix-ui/solidity-compiler/src/lib/compiler-container.tsx | 2 +- package.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/remix-ide/ci/makeMockCompiler.js b/apps/remix-ide/ci/makeMockCompiler.js index f2912e0d04..601f99e8ac 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.17+commit.8df45f5f.js' +var defaultVersion = 'soljson-v0.8.18+commit.87f61d96.js' const path = require('path') compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => { diff --git a/apps/solidity-compiler/src/app/compiler.ts b/apps/solidity-compiler/src/app/compiler.ts index f0562b296f..aa04950e0c 100644 --- a/apps/solidity-compiler/src/app/compiler.ts +++ b/apps/solidity-compiler/src/app/compiler.ts @@ -9,7 +9,7 @@ import { CompileTabLogic } from '@remix-ui/solidity-compiler' const defaultCompilerParameters = { runs: '200', optimize: false, - version: 'soljson-v0.8.17+commit.8df45f5f', + version: 'soljson-v0.8.18+commit.87f61d96', evmVersion: null, // compiler default language: 'Solidity', useFileConfiguration: false, 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 4b4d4b8063..afdab1cc68 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -51,7 +51,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { customVersions: [], compilerLicense: null, selectedVersion: null, - defaultVersion: 'soljson-v0.8.17+commit.8df45f5f.js', // this default version is defined: in makeMockCompiler (for browser test) + defaultVersion: 'soljson-v0.8.18+commit.87f61d96.js', // this default version is defined: in makeMockCompiler (for browser test) runs: '', compiledFileName: '', includeNightlies: false, diff --git a/package.json b/package.json index b1c5f2e6a9..5887d3b5b7 100644 --- a/package.json +++ b/package.json @@ -57,8 +57,8 @@ "browsertest": "sleep 5 && yarn run nightwatch_local", "csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/src/assets/css/font-awesome.min.css' apps/remix-ide/src/assets/css/", "downloadsolc_assets_e2e": "node ./apps/remix-ide/ci/download_e2e_assets.js", - "downloadsolc_assets": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.17+commit.8df45f5f.js -O ./apps/remix-ide/src/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.17+commit.8df45f5f.js -O ./apps/solidity-compiler/src/assets/js/soljson.js", - "downloadsolc_assets_dist": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.17+commit.8df45f5f.js -O ./dist/apps/remix-ide/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.17+commit.8df45f5f.js -O ./dist/apps/solidity-compiler/assets/js/soljson.js", + "downloadsolc_assets": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.18+commit.87f61d96.js -O ./apps/remix-ide/src/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.18+commit.87f61d96.js -O ./apps/solidity-compiler/src/assets/js/soljson.js", + "downloadsolc_assets_dist": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.18+commit.87f61d96.js -O ./dist/apps/remix-ide/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.18+commit.87f61d96.js -O ./dist/apps/solidity-compiler/assets/js/soljson.js", "make-mock-compiler": "node apps/remix-ide/ci/makeMockCompiler.js", "minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false", "build:production": "NODE_ENV=production nx build remix-ide --configuration=production --skip-nx-cache",