-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TECH-466] Switch configuration endpoints (#209)
* `electionConfig` item is now called `latestConfig`. * `latestConfig` has now different configuration items: `thresholdConfig`, `voterAuthorizerConfig`, `ballotConfigs`, `contestConfigs`, `votingRoundConfigs`, `electionConfig`, `genesisConfig`, and `latestConfigItem`. * The different configuration items on the `latestConfig` are now wrapped inside `items`. * Main elements on each configuration item are now wrapped inside `content`. * The `services` of the former `electionConfig` are now inside the `voterAuthorizerConfig` item. * `fetchElectionConfig` method is now called `fetchLatestConfig`. * `validateElectionConfig` method is now called `validateLatestConfig`. * `getElectionConfig` method is now called `getLatestConfig`. * Most type declarations were moved to the `types.ts` file. * Integration/e2e tests were wiped from the JS client. * Benaloh flow and walkthrough don’t support a mocked version anymore. They can still be used for development purposes (see readme). * Unit tests for payload and receipt validation were added. Co-authored-by: Lukas Alex <101322972+av-lukas@users.noreply.github.com> Co-authored-by: Alexis Toledo <alexis.toledo@Alexis-Toledos-MacBook-Pro-16.local> Co-authored-by: av-alexistoledo <112619860+av-alexistoledo@users.noreply.github.com> Co-authored-by: av-alexistoledo <alexis.toledo@assemblyvoting.com> Co-authored-by: Martin Laursen <martin@assemblyvoting.com> Co-authored-by: Lukas Alex <101322972+av-lukas@users.noreply.github.com>
- Loading branch information
1 parent
d67f0c6
commit 497af6f
Showing
58 changed files
with
855 additions
and
2,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.