c4dt / d-voting

📧 E-Voting platform based on the Dela blockchain
https://dedis.github.io/d-voting
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

TestPedersen_SyncDB fails #91

Open ineiti opened 10 months ago

ineiti commented 10 months ago

This test is trying to get some forms on the ledger and then work on them. But the original version just fakes everything and ignores errors, so it works. When errors are caught, everything falls apart.

I tried to add some needed logic to it, but it still fails, because it tries to Encode using a GoodEncoder, which is (of course) not implemented for the forms.

PascalinDe commented 1 month ago

can you add some more infos to this ticket? you refer to some changes you made, could you link the commit?

ineiti commented 1 month ago

From what I remember, I added a lot of err := / require.NoError(t, err) and it started to fail. But I don't have these changes around anymore.