From f52a0c636b8d11ccd3c2cfccb61617e60ea43697 Mon Sep 17 00:00:00 2001 From: Jacob Rothstein Date: Mon, 18 Sep 2023 11:35:21 -0700 Subject: [PATCH] dap-07 --- aggregator_api/src/routes.rs | 2 +- aggregator_api/src/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aggregator_api/src/routes.rs b/aggregator_api/src/routes.rs index 768cc441a..09d277aec 100644 --- a/aggregator_api/src/routes.rs +++ b/aggregator_api/src/routes.rs @@ -33,7 +33,7 @@ pub(super) async fn get_config( State(config): State>, ) -> Json { Json(AggregatorApiConfig { - protocol: "DAP-05", + protocol: "DAP-07", dap_url: config.public_dap_url.clone(), role: AggregatorRole::Either, vdafs: vec![ diff --git a/aggregator_api/src/tests.rs b/aggregator_api/src/tests.rs index 8327f1422..8127846ae 100644 --- a/aggregator_api/src/tests.rs +++ b/aggregator_api/src/tests.rs @@ -82,7 +82,7 @@ async fn get_config() { .await, Status::Ok, concat!( - r#"{"protocol":"DAP-05","dap_url":"https://dap.url/","role":"Either","vdafs":"#, + r#"{"protocol":"DAP-07","dap_url":"https://dap.url/","role":"Either","vdafs":"#, r#"["Prio3Count","Prio3Sum","Prio3Histogram","Prio3CountVec","Prio3SumVec"],"#, r#""query_types":["TimeInterval","FixedSize"]}"# )