-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* trim trailing spaces * update to embark 4.0.2 * bump to solc 0.5.4 * use .selector * use solidity function selector * update to embark 6.0.0 * use mocks instead of "instanceOf" tool+tests fix * update to solidity 0.5.11 * update to solidity 0.5.11 * add spdx license identifiers * update ENS contracts * natspec fix return values
- Loading branch information
Showing
54 changed files
with
27,269 additions
and
731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,46 @@ | ||
module.exports = { | ||
development: { | ||
default: { | ||
enabled: true, | ||
networkType: "custom", // Can be: testnet, rinkeby, livenet or custom, in which case, it will use the specified networkId | ||
networkId: "1337", // Network id used when networkType is custom | ||
isDev: true, // Uses and ephemeral proof-of-authority network with a pre-funded developer account, mining enabled | ||
genesisBlock: "config/development/genesis.json", // Genesis block to initiate on first creation of a development node | ||
datadir: ".embark/development/datadir", // Data directory for the databases and keystore | ||
mineWhenNeeded: true, // Uses our custom script (if isDev is false) to mine only when needed | ||
nodiscover: true, // Disables the peer discovery mechanism (manual peer addition) | ||
maxpeers: 0, // Maximum number of network peers (network disabled if set to 0) (default: 25) | ||
rpcHost: "localhost", // HTTP-RPC server listening interface (default: "localhost") | ||
rpcPort: 8545, // HTTP-RPC server listening port (default: 8545) | ||
rpcCorsDomain: "auto", // Comma separated list of domains from which to accept cross origin requests (browser enforced) | ||
// When set to "auto", Embark will automatically set the cors to the address of the webserver | ||
proxy: true, // Proxy is used to present meaningful information about transactions | ||
account: { | ||
// "address": "", // When specified, uses that address instead of the default one for the network | ||
password: "config/development/password" // Password to unlock the account | ||
}, | ||
targetGasLimit: 8000000, // Target gas limit sets the artificial target gas floor for the blocks to mine | ||
wsRPC: true, // Enable the WS-RPC server | ||
wsOrigins: "auto", // Origins from which to accept websockets requests | ||
// When set to "auto", Embark will automatically set the cors to the address of the webserver | ||
wsHost: "localhost", // WS-RPC server listening interface (default: "localhost") | ||
wsPort: 8546, // WS-RPC server listening port (default: 8546) | ||
simulatorMnemonic: "example exile argue silk regular smile grass bomb merge arm assist farm", // Mnemonic used by the simulator to generate a wallet | ||
simulatorBlocktime: 0 // Specify blockTime in seconds for automatic mining. Default is 0 and no auto-mining. | ||
client: "geth" | ||
}, | ||
|
||
development: { | ||
client: 'ganache-cli', | ||
clientConfig: { | ||
miningMode: 'dev' | ||
} | ||
}, | ||
|
||
testnet: { | ||
enabled: true, | ||
networkType: "testnet", | ||
syncMode: "light", | ||
rpcHost: "localhost", | ||
rpcPort: 8545, | ||
rpcCorsDomain: "http://localhost:8000", | ||
account: { | ||
password: "config/testnet/password" | ||
} | ||
accounts: [ | ||
{ | ||
nodeAccounts: true, | ||
password: "config/testnet/password" | ||
} | ||
] | ||
}, | ||
|
||
livenet: { | ||
enabled: true, | ||
networkType: "livenet", | ||
syncMode: "light", | ||
rpcHost: "localhost", | ||
rpcPort: 8545, | ||
rpcCorsDomain: "http://localhost:8000", | ||
account: { | ||
password: "config/livenet/password" | ||
} | ||
accounts: [ | ||
{ | ||
nodeAccounts: true, | ||
password: "config/livenet/password" | ||
} | ||
] | ||
}, | ||
privatenet: { | ||
enabled: true, | ||
networkType: "custom", | ||
rpcHost: "localhost", | ||
rpcPort: 8545, | ||
rpcCorsDomain: "http://localhost:8000", | ||
datadir: "yourdatadir", | ||
networkId: "123", | ||
bootnodes: "" | ||
|
||
rinkeby: { | ||
networkType: "rinkeby", | ||
syncMode: "light", | ||
accounts: [ | ||
{ | ||
nodeAccounts: true, | ||
password: "config/rinkeby/password" | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
module.exports = { | ||
default: { | ||
enabled: true, | ||
provider: "whisper", // Communication provider. Currently, Embark only supports whisper | ||
available_providers: ["whisper"], // Array of available providers | ||
connection: { | ||
host: "localhost", // Host of the blockchain node | ||
port: 8546, // Port of the blockchain node | ||
type: "ws" // Type of connection (ws or rpc) | ||
} | ||
enabled: false, | ||
provider: "whisper", | ||
available_providers: ["whisper"], | ||
client: "geth" | ||
} | ||
}; |
Oops, something went wrong.