remove provider-engine as it has been creating lots of issues

This commit is contained in:
Jonathan Rainville 2018-07-03 16:39:17 -04:00 committed by Iuri Matias
parent 7467494591
commit 5252611a3d
4 changed files with 5 additions and 28 deletions

View File

@ -127,6 +127,10 @@ class Cmd {
.description(__('run dapp (default: %s)', 'development')) .description(__('run dapp (default: %s)', 'development'))
.action(function (env, options) { .action(function (env, options) {
i18n.setOrDetectLocale(options.locale); i18n.setOrDetectLocale(options.locale);
embark.initConfig(env || 'development', {
embarkConfig: 'embark.json',
interceptLogs: false
});
embark.run({ embark.run({
env: env || 'development', env: env || 'development',
serverPort: options.port, serverPort: options.port,

View File

@ -44,7 +44,6 @@ class Test {
} }
initWeb3Provider(callback) { initWeb3Provider(callback) {
const self = this;
if (this.provider) { if (this.provider) {
this.provider.stop(); this.provider.stop();
} }

18
package-lock.json generated
View File

@ -5024,11 +5024,6 @@
} }
} }
}, },
"is-date-object": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",
"integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY="
},
"is-descriptor": { "is-descriptor": {
"version": "0.1.6", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
@ -5179,14 +5174,6 @@
"integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
"dev": true "dev": true
}, },
"is-regex": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
"integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
"requires": {
"has": "1.0.3"
}
},
"is-resolvable": { "is-resolvable": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
@ -5211,11 +5198,6 @@
"html-comment-regex": "1.1.1" "html-comment-regex": "1.1.1"
} }
}, },
"is-symbol": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",
"integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI="
},
"is-typedarray": { "is-typedarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",

View File

@ -3,11 +3,6 @@ const SimpleStorage = require('Embark/contracts/SimpleStorage');
let accounts; let accounts;
config({ config({
deployment: {
type: 'ws',
host: 'localhost',
port: '8546'
},
contracts: { contracts: {
"SimpleStorage": { "SimpleStorage": {
args: [100], args: [100],
@ -50,10 +45,7 @@ contract("SimpleStorage", function () {
done(error); done(error);
}); });
console.log('TEST'); SimpleStorage.methods.set2(150, 100).send();
SimpleStorage.methods.set2(150, 100).send(() => {
console.log('Done');
});
}); });
}); });