Commit 3764b436 by Makoto Inoue

Update doc on migration step

parent b6a58300
...@@ -65,8 +65,9 @@ At `migrations/2_deploy_contracts.js` ...@@ -65,8 +65,9 @@ At `migrations/2_deploy_contracts.js`
``` ```
module.exports = function(deployer) { module.exports = function(deployer) {
deployer.deploy(YourContract); deployer.deploy(YourContract);
deployer.deploy(YourContractFactory); deployer.deploy(YourContractFactory).then(function() {
deployer.deploy(Bounty); return deployer.deploy(Bounty, YourContractFactory.address);
});
}; };
``` ```
......
...@@ -2,9 +2,9 @@ module.exports = function(deployer) { ...@@ -2,9 +2,9 @@ module.exports = function(deployer) {
deployer.deploy(PullPaymentBid); deployer.deploy(PullPaymentBid);
deployer.deploy(BadArrayUse); deployer.deploy(BadArrayUse);
deployer.deploy(ProofOfExistence); deployer.deploy(ProofOfExistence);
deployer.deploy(CrowdsaleTokenBounty);
deployer.deploy(Ownable); deployer.deploy(Ownable);
deployer.deploy(LimitFunds); deployer.deploy(LimitFunds);
if(deployer.network == 'test'){ if(deployer.network == 'test'){
deployer.deploy(SecureTargetFactory); deployer.deploy(SecureTargetFactory);
deployer.deploy(InsecureTargetFactory); deployer.deploy(InsecureTargetFactory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment