Merge pull request #545 from embark-framework/debug_options
add debug option correctly
This commit is contained in:
commit
7bf1f2420f
|
@ -36,12 +36,12 @@ 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']),
|
||||
rpcApi: (this.blockchainConfig.rpcApi || ['eth', 'web3', 'net', 'debug']),
|
||||
wsRPC: (this.blockchainConfig.wsRPC === undefined) || this.blockchainConfig.wsRPC,
|
||||
wsHost: this.blockchainConfig.wsHost || 'localhost',
|
||||
wsPort: this.blockchainConfig.wsPort || 8546,
|
||||
wsOrigins: this.blockchainConfig.wsOrigins || false,
|
||||
wsApi: (this.blockchainConfig.wsApi || ['eth', 'web3', 'net', 'shh']),
|
||||
wsApi: (this.blockchainConfig.wsApi || ['eth', 'web3', 'net', 'shh', 'debug']),
|
||||
vmdebug: this.blockchainConfig.vmdebug || false,
|
||||
targetGasLimit: this.blockchainConfig.targetGasLimit || false,
|
||||
syncMode: this.blockchainConfig.syncMode,
|
||||
|
|
|
@ -21,7 +21,7 @@ describe('embark.Blockchain', function () {
|
|||
mineWhenNeeded: false,
|
||||
rpcHost: 'localhost',
|
||||
rpcPort: 8545,
|
||||
rpcApi: ['eth', 'web3', 'net'],
|
||||
rpcApi: ['eth', 'web3', 'net', 'debug'],
|
||||
rpcCorsDomain: false,
|
||||
networkId: 12301,
|
||||
port: 30303,
|
||||
|
@ -32,7 +32,7 @@ describe('embark.Blockchain', function () {
|
|||
whisper: true,
|
||||
account: {},
|
||||
bootnodes: "",
|
||||
wsApi: ["eth", "web3", "net", "shh"],
|
||||
wsApi: ["eth", "web3", "net", "shh", "debug"],
|
||||
wsHost: "localhost",
|
||||
wsOrigins: false,
|
||||
wsPort: 8546,
|
||||
|
@ -63,7 +63,7 @@ describe('embark.Blockchain', function () {
|
|||
mineWhenNeeded: true,
|
||||
rpcHost: 'someserver',
|
||||
rpcPort: 12345,
|
||||
rpcApi: ['eth', 'web3', 'net'],
|
||||
rpcApi: ['eth', 'web3', 'net', 'debug'],
|
||||
rpcCorsDomain: true,
|
||||
networkId: 1,
|
||||
port: 123456,
|
||||
|
@ -74,7 +74,7 @@ describe('embark.Blockchain', function () {
|
|||
whisper: false,
|
||||
account: {},
|
||||
bootnodes: "",
|
||||
wsApi: ["eth", "web3", "net", "shh"],
|
||||
wsApi: ["eth", "web3", "net", "shh", "debug"],
|
||||
wsHost: "localhost",
|
||||
wsOrigins: false,
|
||||
wsPort: 8546,
|
||||
|
|
Loading…
Reference in New Issue