Skip to content

Commit

Permalink
aggregator api: Properly report we're DAP-09
Browse files Browse the repository at this point in the history
  • Loading branch information
inahga committed Mar 14, 2024
1 parent a136b22 commit 09df7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggregator_api/src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub(super) async fn get_config(
State(config): State<Arc<Config>>,
) -> Json<AggregatorApiConfig> {
Json(AggregatorApiConfig {
protocol: "DAP-07",
protocol: "DAP-09",
dap_url: config.public_dap_url.clone(),
role: AggregatorRole::Either,
vdafs: vec![
Expand Down
2 changes: 1 addition & 1 deletion aggregator_api/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn get_config() {
.await,
Status::Ok,
concat!(
r#"{"protocol":"DAP-07","dap_url":"https://dap.url/","role":"Either","vdafs":"#,
r#"{"protocol":"DAP-09","dap_url":"https://dap.url/","role":"Either","vdafs":"#,
r#"["Prio3Count","Prio3Sum","Prio3Histogram","Prio3SumVec"],"#,
r#""query_types":["TimeInterval","FixedSize"],"#,
r#""features":["TokenHash","UploadMetrics"]}"#,
Expand Down

0 comments on commit 09df7af

Please sign in to comment.