config updates for debuggin

This commit is contained in:
perissology 2018-11-08 14:50:49 -08:00
parent c6dc7d8fda
commit fbb61b4bde
3 changed files with 43 additions and 118 deletions

View File

@ -1,46 +0,0 @@
module.exports = {
// default applies to all environments
default: {
enabled: true,
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
available_providers: ["whisper"], // Array of available providers
},
// default environment, merges with the settings in default
// assumed to be the intended environment by `embark run`
development: {
connection: {
host: "localhost", // Host of the blockchain node
port: 8546, // Port of the blockchain node
type: "ws" // Type of connection (ws or rpc)
}
},
// merges with the settings in default
// used with "embark run privatenet"
privatenet: {
},
// merges with the settings in default
// used with "embark run testnet"
testnet: {
},
// merges with the settings in default
// used with "embark run livenet"
livenet: {
},
// you can name an environment with specific settings and then specify with
// "embark run custom_name"
//custom_name: {
//}
// Use this section when you need a specific symmetric or private keys in whisper
/*
,keys: {
symmetricKey: "your_symmetric_key",// Symmetric key for message decryption
privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption
}
*/
};

View File

@ -3,9 +3,9 @@ module.exports = {
default: { default: {
// Blockchain node to deploy the contracts // Blockchain node to deploy the contracts
deployment: { deployment: {
host: "localhost", // Host of the blockchain node host: 'localhost', // Host of the blockchain node
port: 8545, // Port of the blockchain node port: 8546, // Port of the blockchain node
type: "rpc" // Type of connection (ws or rpc), type: 'ws', // Type of connection (ws or rpc),
// Accounts to use instead of the default account to populate your wallet // Accounts to use instead of the default account to populate your wallet
/*,accounts: [ /*,accounts: [
{ {
@ -27,90 +27,61 @@ module.exports = {
}, },
// order of connections the dapp should connect to // order of connections the dapp should connect to
dappConnection: [ dappConnection: [
"$WEB3", // uses pre existing web3 object if available (e.g in Mist) '$WEB3', // uses pre existing web3 object if available (e.g in Mist)
"ws://localhost:8546", 'ws://localhost:8546',
"http://localhost:8545" 'http://localhost:8545',
], ],
gas: "auto",
contracts: {
LPVault: {
// fromIndex: 0,
// args: [100]
},
LiquidPledgingMock: {deploy: false},
LPFactory: {
deploy: false,
args: {
_vaultBase: "$LPVault",
_lpBase: "$LiquidPledgingMock"
}
},
RecoveryVault: {},
gas: 'auto',
ACL: { deploy: false }, // Strategy for the deployment of the contracts:
ACLHelpers: { deploy: false }, // - implicit will try to deploy all the contracts located inside the contracts directory
AppStorage: { deploy: false }, // or the directory configured for the location of the contracts. This is default one
AragonApp: { deploy: false }, // when not specified
EtherTokenConstant: { deploy: false }, // - explicit will only attempt to deploy the contracts that are explicity specified inside the
Initializable: { deploy: false }, // contracts section.
IsContract: { deploy: false }, strategy: 'explicit',
ACLSyntaxSugar: { deploy: false },
AppProxyPinned: { deploy: false }, contracts: {},
AppProxyUpgradeable: { deploy: false },
EVMScriptRegistry: { deploy: false },
EVMScriptRunner: { deploy: false },
EVMScriptRegistryConstants: { deploy: false },
ScriptHelpers: { deploy: false },
CallsScript: { deploy: false },
DelegateScript: { deploy: false },
DeployDelegateScript: { deploy: false },
AppProxyFactory: { deploy: false },
DAOFactory: { deploy: false },
EVMScriptRegistryFactory: { deploy: false },
Kernel: { deploy: false },
KernelProxy: { deploy: false },
KernelConstants: { deploy: false },
KernelStorage: { deploy: false },
LPConstants: { deploy: false },
LiquidPledgingACLHelpers: { deploy: false },
LiquidPledging: { deploy: false },
LiquidPledgingBase: { deploy: false },
LiquidPledgingPlugins: { deploy: false },
LiquidPledgingStorage: { deploy: false },
PledgeAdmins: { deploy: false },
Pledges: { deploy: false },
StandardToken: { deploy: false },
TestSimpleDelegatePlugin: { deploy: false },
TestSimpleDelegatePluginFactory: { deploy: false },
TestSimpleProjectPluginFactory: { deploy: false },
}
}, },
// default environment, merges with the settings in default // default environment, merges with the settings in default
// assumed to be the intended environment by `embark run` // assumed to be the intended environment by `embark run`
development: { development: {
dappConnection: [ dappConnection: [
"ws://localhost:8546", 'ws://localhost:8546',
"http://localhost:8545", 'http://localhost:8545',
"$WEB3" // uses pre existing web3 object if available (e.g in Mist) '$WEB3', // uses pre existing web3 object if available (e.g in Mist)
] ],
contracts: {
LPVault: {},
LiquidPledgingMock: {},
RecoveryVault: {},
LPFactory: {
deploy: false,
// gas: "8000000",
args: {
_vaultBase: '$LPVault',
_lpBase: '$LiquidPledgingMock',
},
},
// contracts for testing
StandardToken: {},
},
}, },
// merges with the settings in default // merges with the settings in default
// used with "embark run privatenet" // used with "embark run privatenet"
privatenet: { privatenet: {},
},
// merges with the settings in default // merges with the settings in default
// used with "embark run testnet" // used with "embark run testnet"
testnet: { testnet: {},
},
// merges with the settings in default // merges with the settings in default
// used with "embark run livenet" // used with "embark run livenet"
livenet: { livenet: {},
},
// you can name an environment with specific settings and then specify with // you can name an environment with specific settings and then specify with
// "embark run custom_name" or "embark blockchain custom_name" // "embark run custom_name" or "embark blockchain custom_name"

View File

@ -1,13 +1,13 @@
{ {
"contracts": ["contracts/**"], "contracts": ["contracts/**"],
"app": { "app": {},
},
"buildDir": "dist/", "buildDir": "dist/",
"config": { "config": {
"contracts": "config/contracts.js", "contracts": "config/contracts.js",
"blockchain": "config/blockchain.js", "blockchain": "config/blockchain.js",
"storage": false, "storage": false,
"communication": "config/communication.js", "namesystem": false,
"communication": false,
"webserver": false "webserver": false
}, },
"versions": { "versions": {