mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-12 15:16:37 +00:00
wip fixes
This commit is contained in:
parent
bc3143ce62
commit
7467494591
@ -45,7 +45,7 @@ var Blockchain = function(options) {
|
||||
whisper: (this.blockchainConfig.whisper === undefined) || this.blockchainConfig.whisper,
|
||||
maxpeers: ((this.blockchainConfig.maxpeers === 0) ? 0 : (this.blockchainConfig.maxpeers || 25)),
|
||||
bootnodes: this.blockchainConfig.bootnodes || "",
|
||||
rpcApi: (this.blockchainConfig.rpcApi || ['eth', 'web3', 'net', 'debug']),
|
||||
rpcApi: (this.blockchainConfig.rpcApi || ['eth', 'web3', 'net', 'debug', 'pubsub']),
|
||||
wsRPC: (this.blockchainConfig.wsRPC === undefined) || this.blockchainConfig.wsRPC,
|
||||
wsHost: dockerHostSwap(this.blockchainConfig.wsHost) || defaultHost,
|
||||
wsPort: this.blockchainConfig.wsPort || 8546,
|
||||
|
@ -3,6 +3,11 @@ const SimpleStorage = require('Embark/contracts/SimpleStorage');
|
||||
let accounts;
|
||||
|
||||
config({
|
||||
deployment: {
|
||||
type: 'ws',
|
||||
host: 'localhost',
|
||||
port: '8546'
|
||||
},
|
||||
contracts: {
|
||||
"SimpleStorage": {
|
||||
args: [100],
|
||||
@ -45,7 +50,10 @@ contract("SimpleStorage", function () {
|
||||
done(error);
|
||||
});
|
||||
|
||||
SimpleStorage.methods.set2(150, 100).send();
|
||||
console.log('TEST');
|
||||
SimpleStorage.methods.set2(150, 100).send(() => {
|
||||
console.log('Done');
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user