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

taskprov: Ensure the task ID matches the advertised config #742

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

cjpatton
Copy link
Contributor

Closes #710.

Add a unit test that ensures
TaskprovAdvertisement::parse_taskprov_advertisement() fails if the task ID doesn't match the advertised task config. Along the way, adjust some variable names to make the code easier to read.

crates/daphne/src/taskprov.rs Outdated Show resolved Hide resolved
Add a unit test that ensures
`TaskprovAdvertisement::parse_taskprov_advertisement()` fails if the
task ID doesn't match the advertised task config. Along the way, adjust
some variable names to make the code easier to read.
@cjpatton cjpatton force-pushed the cjpatton/710-no-bug branch from 127fd39 to 24eb0aa Compare December 19, 2024 14:55
@cjpatton
Copy link
Contributor Author

Took Mendes' suggestion, rebased, and squashed.

@cjpatton cjpatton merged commit 31da108 into main Dec 19, 2024
3 checks passed
@cjpatton cjpatton deleted the cjpatton/710-no-bug branch December 19, 2024 15:50
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.

Properly opt out of taskprov tasks
2 participants