From 84344d2a83fca9aa2b3fbc486f432ed5b5e1b7c7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 17 Jun 2020 16:45:47 +0200 Subject: [PATCH] remove uneeded compilerUrl param --- src/app/tabs/compile-tab.js | 4 ++-- test-browser/tests/compiler_api.test.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index b41dec9bbf..9a61b6d0c1 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -218,7 +218,7 @@ class CompileTab extends ViewPlugin { * The module UI will *not* be updated, the compilation result is returned * This function is used by remix-plugin compiler API. * @param {object} map of source files. - * @param {object} settings {evmVersion, optimize, compilerUrl, version, language} + * @param {object} settings {evmVersion, optimize, version, language} */ async compileWithParameters (compilationTargets, settings) { return await compile(compilationTargets, settings) @@ -241,7 +241,7 @@ class CompileTab extends ViewPlugin { /** * set the compiler configuration * This function is used by remix-plugin compiler API. - * @param {object} settings {evmVersion, optimize, compilerUrl, version, language} + * @param {object} settings {evmVersion, optimize, version, language} */ setCompilerConfig (settings) { return new Promise((resolve, reject) => { diff --git a/test-browser/tests/compiler_api.test.js b/test-browser/tests/compiler_api.test.js index 2c267b8177..d38f7b64b7 100644 --- a/test-browser/tests/compiler_api.test.js +++ b/test-browser/tests/compiler_api.test.js @@ -76,8 +76,7 @@ const jsCompile = `(async () => { optimize: false, evmVersion: null, language: 'Solidity', - version: '0.6.8+commit.0bbfe453', - compilerUrl: 'https://solc-bin.ethereum.org/bin/soljson-v0.6.8+commit.0bbfe453.js' + version: '0.6.8+commit.0bbfe453' } const result = await remix.call('solidity', 'compileWithParameters', contract, params) console.log('result ', result)