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

vdaf: Replace the PrepareTransition::Fail variant #224

Merged
merged 1 commit into from
May 24, 2022

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented May 19, 2022

Based on #218 (merge that first).
Closes #221.

Removes the PrepareTransition::Fail variant and has prepare_step()
output a Result<PrepareTransition, VdafError>. Instead of returning
PrepareTransition::Fail(e), implementations of this method now simply
return Err(e).

@cjpatton cjpatton requested a review from a team as a code owner May 19, 2022 23:57
@cjpatton cjpatton force-pushed the cjpatton/vdaf-first-round branch 2 times, most recently from 19f2bb3 to 1f7265e Compare May 24, 2022 16:02
@cjpatton cjpatton force-pushed the cjpatton/2-prep-trans-fail branch from b78f073 to 59d63bc Compare May 24, 2022 17:01
@cjpatton cjpatton changed the base branch from cjpatton/vdaf-first-round to main May 24, 2022 18:45
Removes the `PrepareTransition::Fail` variant and has `prepare_step()`
output a `Result<PrepareTransition, VdafError>`. Instead of returning
`PrepareTransition::Fail(e)`, implementations of this method now simply
return `Err(e)`.
@cjpatton cjpatton force-pushed the cjpatton/2-prep-trans-fail branch from 59d63bc to ea0f28e Compare May 24, 2022 18:46
@cjpatton cjpatton merged commit 5c01ea3 into main May 24, 2022
@cjpatton cjpatton deleted the cjpatton/2-prep-trans-fail branch January 25, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vdaf: Consider removing PrepareTransition::Fail variant
3 participants