diff --git a/src/app.js b/src/app.js index 95d852f445..bda979fc4d 100644 --- a/src/app.js +++ b/src/app.js @@ -236,7 +236,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org const compilersArtefacts = new CompilersArtefacts() // store all the compilation results (key represent a compiler name) registry.put({api: compilersArtefacts, name: 'compilersartefacts'}) - const {eventsDecoder, txlistener} = makeUdapp(blockchain, udapp, compilersArtefacts, (domEl) => mainview.getTerminal().logHtml(domEl)) + const {eventsDecoder, txlistener} = makeUdapp(blockchain, compilersArtefacts, (domEl) => mainview.getTerminal().logHtml(domEl)) // ----------------- network service (resolve network id / name) ---------------------------- const networkModule = new NetworkModule(executionContext) // ----------------- convert offset to line/column service ---------------------------- diff --git a/src/app/udapp/run-tab.js b/src/app/udapp/run-tab.js index 4a32f2d034..f07d0d8c83 100644 --- a/src/app/udapp/run-tab.js +++ b/src/app/udapp/run-tab.js @@ -121,7 +121,7 @@ export class RunTab extends LibraryPlugin { this.instanceContainer.appendChild(this.noInstancesText) } - renderSettings (udapp) { + renderSettings () { this.settingsUI = new SettingsUI(this.blockchain, this.networkModule) this.settingsUI.event.register('clearInstance', () => { @@ -129,7 +129,7 @@ export class RunTab extends LibraryPlugin { }) } - renderDropdown (udappUI, fileManager, compilersArtefacts, config, editor, udapp, filePanel, logCallback) { + renderDropdown (udappUI, fileManager, compilersArtefacts, config, editor, logCallback) { const dropdownLogic = new DropdownLogic(compilersArtefacts, config, editor, this) this.contractDropdownUI = new ContractDropdownUI(this.blockchain, dropdownLogic, logCallback, this) @@ -147,7 +147,7 @@ export class RunTab extends LibraryPlugin { }) } - renderRecorder (udapp, udappUI, fileManager, config, logCallback) { + renderRecorder (udappUI, fileManager, config, logCallback) { this.recorderCount = yo`0` const recorder = new Recorder(this.blockchain, fileManager, config) @@ -206,9 +206,9 @@ export class RunTab extends LibraryPlugin { this.executionContext.listenOnLastBlock() this.udapp.resetEnvironment() this.renderInstanceContainer() - this.renderSettings(this.udapp) - this.renderDropdown(this.udappUI, this.fileManager, this.compilersArtefacts, this.config, this.editor, this.udapp, this.filePanel, this.logCallback) - this.renderRecorder(this.udapp, this.udappUI, this.fileManager, this.config, this.logCallback) + this.renderSettings() + this.renderDropdown(this.udappUI, this.fileManager, this.compilersArtefacts, this.config, this.editor, this.logCallback) + this.renderRecorder(this.udappUI, this.fileManager, this.config, this.logCallback) this.renderRecorderCard() return this.renderContainer() }