Skip to content

#743 Fix Guardian ids in Lagrange Coefficients#750

Merged
lprichar merged 3 commits intomainfrom
story/743-guardian-ids
Aug 18, 2022
Merged

#743 Fix Guardian ids in Lagrange Coefficients#750
lprichar merged 3 commits intomainfrom
story/743-guardian-ids

Conversation

@lprichar
Copy link
Copy Markdown
Contributor

Issue

Fixes #743

Description

Guardians previously needed to be named with numbers else the election verification would fail when validating the Lagrange Coefficients stating that the guardian_id needed to be numeric. This fixes it by having the admin look up the guardian's sequence order and announcing guardians with that value instead of the guardian's alpha-numeric identifier.

Testing

Run an end-to-end election with guardians with alpha-numeric strings and validate it in Julia. Expected: it should validate.

Copy link
Copy Markdown
Contributor

@SteveMaier-IRT SteveMaier-IRT left a comment

Choose a reason for hiding this comment

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

lgtm

@lprichar lprichar merged commit be31aa2 into main Aug 18, 2022
@lprichar lprichar deleted the story/743-guardian-ids branch August 18, 2022 17:26
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.

🐞 Guardians must be named with numbers

2 participants