Skip to content

Feature/add poll#15

Merged
99Kies merged 53 commits intomainfrom
feature/add-poll-id
Apr 1, 2026
Merged

Feature/add poll#15
99Kies merged 53 commits intomainfrom
feature/add-poll-id

Conversation

@99Kies
Copy link
Copy Markdown
Collaborator

@99Kies 99Kies commented Feb 5, 2026

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maci Ready Ready Preview, Comment Mar 27, 2026 3:20pm

Request Review

Copy link
Copy Markdown

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestions:

  1. The command structure created in genMessageFactory has the salt in the wrong position, causing decrypted command elements to be misaligned with circuit expectations.
  1. Command array in operator.ts has salt in wrong position, causing decrypted command elements to misalign with circuit specification
  1. The WitnessTester type definition for MessageToCommand circuit is missing 'pollId' in the output tuple, while the actual circuit (messageToCommand.circom line 63) declares it as an output signal.
Fix on Vercel

uint256_from_decimal_string(&data.msgs[i][4]),
uint256_from_decimal_string(&data.msgs[i][5]),
uint256_from_decimal_string(&data.msgs[i][6]),
uint256_from_decimal_string(&data.msgs[i][7]),
Copy link
Copy Markdown

@vercel vercel bot Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test code accesses array indices [0-9] in msgs array, but test JSON data only contained 7 elements per message (indices 0-6), causing index out of bounds error

Fix on Vercel

@99Kies 99Kies merged commit 3934dcc into main Apr 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants