From 23a1cf57c24e2ee796a1389c2d1800eb93a5d053 Mon Sep 17 00:00:00 2001 From: emizzle Date: Mon, 13 Aug 2018 21:49:51 +1000 Subject: [PATCH] Removed the contract compile event (really did it this time) --- lib/modules/solidity/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/modules/solidity/index.js b/lib/modules/solidity/index.js index 4c6acc0d1..1ff8829f1 100644 --- a/lib/modules/solidity/index.js +++ b/lib/modules/solidity/index.js @@ -15,12 +15,6 @@ class Solidity { embark.registerCompiler(".sol", this.compile_solidity.bind(this)); - - this.events.setCommandHandler("contract:compile", (contractCode, cb) => { - const input = {'fiddler': {content: contractCode.replace(/\r\n/g, '\n')}}; - this.compile_solidity_code(input, {}, true, cb); - }); - embark.registerAPICall( 'post', '/embark-api/contract/compile',