DemocracyEarth / old_dapp

Liquid democracy smart contract implementation
32 stars 13 forks source link

Basic vote #20

Closed medied closed 6 years ago

medied commented 6 years ago

@aecc note I abstracted and simplified the ballot (0f294025b368097e1b0f6ebf7a6ce79992ee745c) by removing string array like we talked about.

Also I refactored LiquidDemocracy.test.js to make use of beforeEach(). This is the kind of readability I think we should aim for.

Creating this PR now because it might make sense to merge this first before merging delegate() functionality.

Closes #11