Skip to content

Commit

Permalink
Add start:chain script and update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
gichiba committed Apr 13, 2019
1 parent 16aa381 commit 23d1c1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions migrations/4_nifty_minter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ const VoluntaryCarbonUnit = artifacts.require('./VoluntaryCarbonUnit.sol');
// eslint-disable-next-line no-unused-vars
module.exports = async (deployer) => {
const vcu = await VoluntaryCarbonUnit.deployed();
await vcu.addMinter('0xa24491d6378e843D7fe84bf20C589cFc5aC77562');
await vcu.addMinter('0x6D758C3A656869bbb9431b6c67E500d24a838959');
await vcu.addMinter('0xb77D57F4959eAfA0339424b83FcFaf9c15407461');
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"lint:js:fix": "npx eslint . --fix",
"lint:sol": "npx solhint --max-warnings 0 \"contracts/**/*.sol\"",
"coverage": "npx solidity-coverage",
"start:chain": "scripts/start_blockchain.sh",
"migrate:local": "npx truffle migrate --network local --reset && cp build/contracts/* app/src/contracts/",
"migrate:rinkeby": "npx truffle migrate --network rinkeby --reset && cp build/contracts/* app/src/contracts/",
"migrate:kovan": "npx truffle migrate --network kovan --reset && cp build/contracts/* app/src/contracts/",
Expand Down
Empty file modified scripts/start_blockchain.sh
100644 → 100755
Empty file.

0 comments on commit 23d1c1a

Please sign in to comment.