Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aggregator_api/src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub(super) async fn get_config(
LazyLock::new(|| format!("{}-{}", env!("CARGO_PKG_VERSION"), git_revision()));

Json(AggregatorApiConfig {
protocol: "DAP-09",
protocol: "DAP-16",
dap_url: config.public_dap_url.clone(),
role: AggregatorRole::Either,
vdafs: Vec::from([
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 @@ -78,7 +78,7 @@ async fn get_config() {
assert_body_contains!(
conn,
concat!(
r#""protocol":"DAP-09","dap_url":"https://dap.url/","role":"Either","vdafs":"#,
r#""protocol":"DAP-16","dap_url":"https://dap.url/","role":"Either","vdafs":"#,
r#"["Prio3Count","Prio3Sum","Prio3Histogram","Prio3SumVec"],"#,
r#""batch_modes":["TimeInterval","LeaderSelected"],"#,
r#""features":["TokenHash","UploadMetrics","TimeBucketedLeaderSelected","#,
Expand Down
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub mod taskprov {

/// This value is used in a few places throughout the protocol to identify the draft of DAP being
/// implemented.
const DAP_VERSION_IDENTIFIER: &str = "dap-15";
const DAP_VERSION_IDENTIFIER: &str = "dap-16";

/// Returns the given [`Url`], possibly modified to end with a slash.
///
Expand Down
Loading