diff --git a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js index 9cc8ec4b85..a9c17192cc 100644 --- a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js +++ b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js @@ -69,7 +69,7 @@ class CompileTab extends Plugin { this.compiler.set('language', lang) } - getCompilerState (lang) { + getCompilerState () { return this.compiler.state } diff --git a/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts b/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts index 50fc98410a..68752793b4 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts +++ b/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts @@ -60,6 +60,10 @@ export class CompileTab extends Plugin { this.compiler.set('evmVersion', this.evmVersion) } + getCompilerState () { + return this.compiler.state + } + /** * Set the compiler to using Solidity or Yul (default to Solidity) * @params lang {'Solidity' | 'Yul'} ...