diff --git a/remix-simulator/README.md b/remix-simulator/README.md index 67778c46c0..db6661c3d4 100644 --- a/remix-simulator/README.md +++ b/remix-simulator/README.md @@ -37,9 +37,9 @@ Implemented: * [_] eth_getUncleByBlockHashAndIndex * [_] eth_getUncleByBlockNumberAndIndex * [X] eth_getCompilers (DEPRECATED) -* [_] eth_compileSolidity (DEPRECATED) -* [_] eth_compileLLL (DEPRECATED) -* [_] eth_compileSerpent (DEPRECATED) +* [X] eth_compileSolidity (DEPRECATED) +* [X] eth_compileLLL (DEPRECATED) +* [X] eth_compileSerpent (DEPRECATED) * [_] eth_newFilter * [_] eth_newBlockFilter * [_] eth_newPendingTransactionFilter diff --git a/remix-simulator/src/methods/misc.js b/remix-simulator/src/methods/misc.js index 43af6b860b..dfa48baaed 100644 --- a/remix-simulator/src/methods/misc.js +++ b/remix-simulator/src/methods/misc.js @@ -12,7 +12,10 @@ Misc.prototype.methods = function () { eth_mining: this.eth_mining.bind(this), eth_hashrate: this.eth_hashrate.bind(this), web3_sha3: this.web3_sha3.bind(this), - eth_getCompilers: this.eth_getCompilers.bind(this) + eth_getCompilers: this.eth_getCompilers.bind(this), + eth_compileSolidity: this.eth_compileSolidity.bind(this), + eth_compileLLL: this.eth_compileLLL.bind(this), + eth_compileSerpent: this.eth_compileSerpent.bind(this) } } @@ -46,4 +49,16 @@ Misc.prototype.eth_getCompilers = function (payload, cb) { cb(null, []) } +Misc.prototype.eth_compileSolidity = function (payload, cb) { + cb(null, "unsupported") +} + +Misc.prototype.eth_compileLLL = function (payload, cb) { + cb(null, "unsupported") +} + +Misc.prototype.eth_compileSerpent = function (payload, cb) { + cb(null, "unsupported") +} + module.exports = Misc