Skip to content

Feature/add poll#15

Open
99Kies wants to merge 6 commits intomainfrom
feature/add-poll-id
Open

Feature/add poll#15
99Kies wants to merge 6 commits intomainfrom
feature/add-poll-id

Conversation

@99Kies
Copy link
Collaborator

@99Kies 99Kies commented Feb 5, 2026

No description provided.

@vercel
Copy link

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 Feb 6, 2026 7:25am

Request Review

Copy link

@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

@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 attempts to access array indices [7], [8], [9] in msgs array, but test JSON data only contains 7 elements (indices 0-6) per message, causing index out of bounds panic at runtime

Fix on Vercel

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.

1 participant