Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forms cannot be deleted #315

Open
PascalinDe opened this issue Aug 30, 2023 · 3 comments
Open

forms cannot be deleted #315

PascalinDe opened this issue Aug 30, 2023 · 3 comments
Assignees

Comments

@PascalinDe
Copy link
Contributor

deleting a form is rejected by the backend:

d-voting-dela-worker-0-1 | 2023-08-30T09:40:14Z WRN pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/pbft/mod.go:639 > transaction not accepted addr=dela-worker-0:2000 reason="failed to decrypt ballots: wrong type of transaction: types.DeleteForm"

@PascalinDe
Copy link
Contributor Author

@pierluca do you have any insights on that error? maybe it's just a misconfiguration?

@emduc
Copy link
Contributor

emduc commented Sep 11, 2023

Hi,

It seems like the error is in the proxy, on line 548 of proxy/election.go the wrong transaction type is passed by the proxy to the node: should be CmdDeleteForm and not CmdCombineShares

txnID, lastBlock, err := h.mngr.SubmitTxn(r.Context(), evoting.CmdCombineShares, evoting.FormArg, data)

@ineiti
Copy link
Member

ineiti commented Oct 6, 2023

Need to test it with d-voting UI, but currently it's not working.

@PascalinDe PascalinDe moved this from Todo to To Review in D-Voting Nov 8, 2023
@PascalinDe PascalinDe self-assigned this Nov 8, 2023
@PascalinDe PascalinDe moved this from To Review to To Test in D-Voting Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

3 participants