Merge pull request #1012 from embark-framework/bugfix/sign-verify

bug: add personal to all connection
This commit is contained in:
Eric Mastro 2018-10-31 10:19:39 +01:00 committed by GitHub
commit b76a7f1379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -6,8 +6,8 @@ const DEFAULTS = {
"BIN": "geth", "BIN": "geth",
"NETWORK_TYPE": "custom", "NETWORK_TYPE": "custom",
"NETWORK_ID": 1337, "NETWORK_ID": 1337,
"RPC_API": ['eth', 'web3', 'net', 'debug'], "RPC_API": ['eth', 'web3', 'net', 'debug', 'personal'],
"WS_API": ['eth', 'web3', 'net', 'shh', 'debug', 'pubsub'], "WS_API": ['eth', 'web3', 'net', 'shh', 'debug', 'pubsub', 'personal'],
"DEV_WS_API": ['eth', 'web3', 'net', 'shh', 'debug', 'pubsub', 'personal'], "DEV_WS_API": ['eth', 'web3', 'net', 'shh', 'debug', 'pubsub', 'personal'],
"TARGET_GAS_LIMIT": 8000000 "TARGET_GAS_LIMIT": 8000000
}; };

View File

@ -21,7 +21,7 @@ describe('embark.Blockchain', function() {
mineWhenNeeded: false, mineWhenNeeded: false,
rpcHost: defaultHost, rpcHost: defaultHost,
rpcPort: 8545, rpcPort: 8545,
rpcApi: ['eth', 'web3', 'net', 'debug'], rpcApi: ['eth', 'web3', 'net', 'debug', "personal"],
rpcCorsDomain: false, rpcCorsDomain: false,
networkId: 1337, networkId: 1337,
port: 30303, port: 30303,
@ -33,7 +33,7 @@ describe('embark.Blockchain', function() {
account: {}, account: {},
devPassword: "", devPassword: "",
bootnodes: "", bootnodes: "",
wsApi: ["eth", "web3", "net", "shh", "debug", "pubsub"], wsApi: ["eth", "web3", "net", "shh", "debug", "pubsub", "personal"],
wsHost: defaultHost, wsHost: defaultHost,
wsOrigins: false, wsOrigins: false,
wsPort: 8546, wsPort: 8546,
@ -64,7 +64,7 @@ describe('embark.Blockchain', function() {
mineWhenNeeded: true, mineWhenNeeded: true,
rpcHost: defaultHost, rpcHost: defaultHost,
rpcPort: 12345, rpcPort: 12345,
rpcApi: ['eth', 'web3', 'net', 'debug'], rpcApi: ['eth', 'web3', 'net', 'debug', "personal"],
rpcCorsDomain: true, rpcCorsDomain: true,
networkId: 1, networkId: 1,
port: 123456, port: 123456,
@ -76,7 +76,7 @@ describe('embark.Blockchain', function() {
account: {}, account: {},
devPassword: "foo/bar/devpassword", devPassword: "foo/bar/devpassword",
bootnodes: "", bootnodes: "",
wsApi: ["eth", "web3", "net", "shh", "debug"], wsApi: ["eth", "web3", "net", "shh", "debug", "personal"],
wsHost: defaultHost, wsHost: defaultHost,
wsOrigins: false, wsOrigins: false,
wsPort: 12346, wsPort: 12346,
@ -97,7 +97,7 @@ describe('embark.Blockchain', function() {
mineWhenNeeded: true, mineWhenNeeded: true,
rpcHost: defaultHost, rpcHost: defaultHost,
rpcPort: 12345, rpcPort: 12345,
rpcApi: ['eth', 'web3', 'net', 'debug'], rpcApi: ['eth', 'web3', 'net', 'debug', 'personal'],
rpcCorsDomain: true, rpcCorsDomain: true,
networkId: 1, networkId: 1,
port: 123456, port: 123456,
@ -109,7 +109,7 @@ describe('embark.Blockchain', function() {
account: {}, account: {},
devPassword: "foo/bar/devpassword", devPassword: "foo/bar/devpassword",
bootnodes: "", bootnodes: "",
wsApi: ["eth", "web3", "net", "shh", "debug"], wsApi: ["eth", "web3", "net", "shh", "debug", "personal"],
wsHost: defaultHost, wsHost: defaultHost,
wsOrigins: false, wsOrigins: false,
wsPort: 12346, wsPort: 12346,