add message about http json-rpc deprecation

pull/5370/head
Iuri Matias 5 years ago
parent 9e9e9cea73
commit e2dd087352
  1. 2
      remix-lib/src/execution/execution-context.js
  2. 7
      remix-simulator/src/server.js

@ -115,7 +115,7 @@ function ExecutionContext () {
this.blockGasLimit = this.blockGasLimitDefault
this.customNetWorks = {}
this.blocks = {}
this.latestBlockNumber = 0;
this.latestBlockNumber = 0
this.txs = {}
this.init = function (config) {

@ -54,7 +54,12 @@ class Server {
})
}
app.listen(port, host, () => log('Remix Simulator listening on port ' + host + ':' + port))
app.listen(port, host, () => {
log('Remix Simulator listening on ws://' + host + ':' + port)
if (!this.rpcOnly) {
log('http json-rpc is deprecated and disabled by default. To enable it use --rpc')
}
})
}
}

Loading…
Cancel
Save