From 70b05facca72d0c2c2d1d5c224b27119bd337236 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 31 Dec 2019 11:33:28 -0500 Subject: [PATCH] remove udapp and execution context from run-tab --- src/app.js | 2 -- src/app/udapp/run-tab.js | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/app.js b/src/app.js index ad89486e31..636e3a179c 100644 --- a/src/app.js +++ b/src/app.js @@ -300,8 +300,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ) const run = new RunTab( blockchain, - udapp, - executionContext, registry.get('config').api, registry.get('filemanager').api, registry.get('editor').api, diff --git a/src/app/udapp/run-tab.js b/src/app/udapp/run-tab.js index 2c1c04e5ff..7b4df5149f 100644 --- a/src/app/udapp/run-tab.js +++ b/src/app/udapp/run-tab.js @@ -33,12 +33,10 @@ const profile = { export class RunTab extends LibraryPlugin { - constructor (blockchain, udapp, executionContext, config, fileManager, editor, filePanel, compilersArtefacts, networkModule, mainView) { - super(udapp, profile) + constructor (blockchain, config, fileManager, editor, filePanel, compilersArtefacts, networkModule, mainView) { + super(blockchain.udapp, profile) this.event = new EventManager() this.config = config - this.udapp = udapp - this.executionContext = executionContext this.blockchain = blockchain this.fileManager = fileManager this.editor = editor