Closed andreslucena closed 1 year ago
@microstudi this one is ready to be reviewed whenever you have the time (I forgot to ping you the other day)
The only problem is that I couldn't setup the election as the vocdoni api keeps throwing some mysterious errors
I haven't seen that error message before. Could it be for some kind of cache on your side? (I mean the typical things like restarting puma, recompiling webpack, etc)
Just to be sure I done it again and I get the Election successfully sent message:
This PR adds the Setup Census logic.
Some notes:
The main thing to notice is that we're still using the createRandomWallet method from ethers. We're waiting for a deterministic method for creating the wallets with the participants data provided by the admin, but we still don't have that method. The idea with this PR is that it should be easy to change with this PR as a first iteration.This week Vocdoni SDK released v0.0.3-alpha, and this version has the feature that we needed to generate deterministic wallets. It's implemented at 970f4f257793bc6f8878ba92eef80af38b69f22eFix #7
Screenshots
Testing