makoto / blockparty

NO BLOCK NO PARTY
MIT License
164 stars 41 forks source link

Replace `throw` with `modifiers` #6

Closed makoto closed 6 years ago

makoto commented 8 years ago

Currently all the exception handling is done by throwing throw but that will burn all the gas. Replace the throw with modifier using "CCP" approach https://blog.ethcore.io/condition-oriented-programming-2/

makoto commented 6 years ago

Addressed by https://github.com/makoto/blockparty/pull/92