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