The test were always returning 'out of gas' errors.
Fixing these test errors required updating the version of truffle to truffle@beta.
This truffle@beta update, in turn, required many syntax fixes, plus the upgrade introduced truffle serve errors related to fsevent. To fix these, I have replaced truffle serve with npm run dev. The code is now closer to the more sensible truffle init webpack start code.
Fixes #4
Fixes #5
Removed Wallet UI as the npm eth-lightwallet package now causes npm install failure due to conflicts with the npm truffle package
Removed refund UI and tests as the code was never working and method refundTicket never existed in the contract.
Split off devDependencies in package.json
Using require rather than if-then fail code
Prevent Quota from being less than current number of participants
Prevent negative Quota which leads to BigNumber overflow which makes quota essentially unlimited
The test were always returning 'out of gas' errors. Fixing these test errors required updating the version of truffle to
truffle@beta
. This truffle@beta update, in turn, required many syntax fixes, plus the upgrade introducedtruffle serve
errors related to fsevent. To fix these, I have replacedtruffle serve
withnpm run dev
. The code is now closer to the more sensibletruffle init webpack
start code.eth-lightwallet
package now causes npm install failure due to conflicts with the npm truffle packagerefundTicket
never existed in the contract.package.json
require
rather thanif-then fail
code