Check-in Contracts (#108)
* allow truffle contract compiled JSON * remove PrivateFund deployment * set ropsten deployment gas price * check-in most recently deployed CrowdFundFactory
This commit is contained in:
parent
2886042c33
commit
52b04826bb
|
@ -1,5 +1,6 @@
|
|||
node_modules
|
||||
build
|
||||
.idea/
|
||||
yarn-error.log
|
||||
.env
|
||||
build/abi
|
||||
build/typedefs
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,5 @@
|
|||
const CrowdFundFactory = artifacts.require("./CrowdFundFactory.sol");
|
||||
const PrivateFundFactory = artifacts.require("./PrivateFundFactory.sol");
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(CrowdFundFactory);
|
||||
deployer.deploy(PrivateFundFactory);
|
||||
};
|
||||
|
|
|
@ -65,9 +65,10 @@ module.exports = {
|
|||
// Useful for deploying to a public network.
|
||||
// NB: It's important to wrap the provider as a function.
|
||||
ropsten: {
|
||||
provider: function () {return new HDWallet(mnemonic, 'https://ropsten.infura.io/' + infuraKey)},
|
||||
provider: function () { return new HDWallet(mnemonic, 'https://ropsten.infura.io/' + infuraKey) },
|
||||
network_id: 3, // Ropsten's id
|
||||
gas: 5500000, // Ropsten has a lower block limit than mainnet
|
||||
gasPrice: 20,
|
||||
confirmations: 2, // # of confs to wait between deployments. (default: 0)
|
||||
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
|
||||
skipDryRun: true // Skip dry run before migrations? (default: false for public nets )
|
||||
|
|
Loading…
Reference in New Issue