diff --git a/config/seeds.js b/config/seeds.js index 1d22efe..f22c76c 100644 --- a/config/seeds.js +++ b/config/seeds.js @@ -4,7 +4,7 @@ let contractCalls = [ ['Proposal', 'addProposal', [{ contributorId: 2, amount: 42, kind: 'code', description: 'runs the seeds', url: '' }, {gasLimit: 350000}]], ['Proposal', 'addProposal', [{ contributorId: 3, amount: 23, kind: 'code', description: 'runs the seeds', url: '' }, {gasLimit: 350000}]], ['Proposal', 'addProposal', [{contributorId: 3, amount: 100, kind: 'code', description: 'hacks on kredits', url: '' }, {gasLimit: 350000}]], - ['Proposal', 'vote', ['1', {gasLimit: 250000}]], + ['Proposal', 'vote', [1, {gasLimit: 550000}]], ['Contribution', 'addContribution', [{contributorAccount: '0xa502eb4021f3b9ab62f75b57a94e1cfbf81fd827', amount: 100, kind: 'code', description: 'hacks on kredits', url: '' }, {gasLimit: 350000}]], ]; let funds = [ diff --git a/package.json b/package.json index 1d4e0b1..fb312fe 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,11 @@ }, "scripts": { "build-json": "aragon contracts compile --all && node ./scripts/build-json.js", - "reset": "truffle migrate --reset && npm run build-json", - "bootstrap": "npm run reset && truffle exec scripts/seeds.js", - "ganache": "ganache-cli -p 7545 -i 100 --db=./.ganache-db -m kredits", - "dev": "truffle migrate && npm run build-json", + "repl": "truffle exec scripts/repl/js", + "compile-contracts": "aragon contracts compile --all", + "bootstrap": "npm run compile-contracts && npm run deploy-dev && truffle exec scripts/seeds.js", + "deploy-dev": "ENS=0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1 aragon contracts exec scripts/deploy-kit.js", + "devchain": "aragon devchain", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {