Commit 591ae09e authored by yann300's avatar yann300

use 0.2.4 remix-plugin & set default timeout

parent 491a3235
...@@ -2106,9 +2106,9 @@ ...@@ -2106,9 +2106,9 @@
"dev": true "dev": true
}, },
"@remixproject/engine": { "@remixproject/engine": {
"version": "0.2.3", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/@remixproject/engine/-/engine-0.2.3.tgz", "resolved": "https://registry.npmjs.org/@remixproject/engine/-/engine-0.2.4.tgz",
"integrity": "sha512-3xFbAP83ljuLABx8nO1ywfviGvCOB1U3UvZCS3Ar+XlwzQvxJUvZNMA6vd/ofF81SM0wGcwrPrWBwYxlnuL9UQ==" "integrity": "sha512-rCekA2QZq5wbT7h9wqU+TDkRexUqhnMqcggmP+eG6ilowyZ4RhMsrrSl3fsZzd0rnp4w1LSmX0vCbuXfja3RqQ=="
}, },
"@resolver-engine/core": { "@resolver-engine/core": {
"version": "0.3.3", "version": "0.3.3",
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"yo-yoify": "^3.7.3" "yo-yoify": "^3.7.3"
}, },
"dependencies": { "dependencies": {
"@remixproject/engine": "^0.2.3", "@remixproject/engine": "^0.2.4",
"http-server": "^0.11.1", "http-server": "^0.11.1",
"standard": "^8.5.0" "standard": "^8.5.0"
}, },
......
...@@ -239,6 +239,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -239,6 +239,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const pluginLoader = appManager.pluginLoader const pluginLoader = appManager.pluginLoader
const workspace = pluginLoader.get() const workspace = pluginLoader.get()
const engine = new Engine(appManager) const engine = new Engine(appManager)
engine.setPluginOption = ({ name, kind }) => {
if (kind === 'provider' || name === 'LearnEth') {
return {queueTimeout: 60000}
}
return {queueTimeout: 10000}
}
await engine.onload() await engine.onload()
// SERVICES // SERVICES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment