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

Implement vdaf::Collector on dummy VDAF #948

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

tgeoghegan
Copy link
Contributor

The dummy VDAF implementation on prio::vdaf::dummy::Vdaf was lacking an implementation of prio::vdaf::Collector. Additionally, we defined its AggregateResult associated type as u8, which is awkward at best since the AggregateShare associated type is a tuple struct around u64. We change prio::vdaf::dummy::Vdaf::AggregateResult to be u64. This breaking change to public API is deemed acceptable since this is gated behind test-util.

The dummy VDAF implementation on `prio::vdaf::dummy::Vdaf` was lacking
an implementation of `prio::vdaf::Collector`. Additionally, we defined
its `AggregateResult` associated type as `u8`, which is awkward at best
since the `AggregateShare` associated type is a tuple struct around
`u64`. We change `prio::vdaf::dummy::Vdaf::AggregateResult` to be `u64`.
This breaking change to public API is deemed acceptable since this is
gated behind `test-util`.
@tgeoghegan tgeoghegan merged commit 2b00f1c into main Feb 21, 2024
6 checks passed
@tgeoghegan tgeoghegan deleted the timg/dummy-vdaf-bugs branch February 21, 2024 19:16
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