Closed thiefinparis closed 7 years ago
@zlgrube @nickdeng4 Please review when you get a chance
Will finish this tomm. Sorry about the delay.
Okay, this test should be fixed now. Please review @nickdeng4 @zlgrube. I refactored the crowdsale contract a bit. Found a few unused variables along the way, and there were multiple bugs that were rather subtle related to initialization and state.
@nickdeng4 any more comments?
This adds some of the previously failing logic in the js test back. The purchase call takes around 95k gas (the default is 21k), so that needed to be bumped for the payment call to make the test work. For once, the OOG error was telling the truth :)