Skip to content

Commit bd612c7

Browse files
committed
feat(infa): support for aggregate signature type selection
1 parent 5780dfd commit bd612c7

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

mithril-infra/assets/docker/docker-compose-aggregator-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ services:
5353
- PROTOCOL_PARAMETERS__PHI_F=${PROTOCOL_PARAMETERS__PHI_F}
5454
- RUN_INTERVAL=60000
5555
- SIGNED_ENTITY_TYPES=${SIGNED_ENTITY_TYPES}
56+
- AGGREGATE_SIGNATURE_TYPE=${AGGREGATE_SIGNATURE_TYPE}
5657
- SNAPSHOT_UPLOADER_TYPE=gcp
5758
- SNAPSHOT_BUCKET_NAME=${SNAPSHOT_BUCKET_NAME}
5859
- SNAPSHOT_USE_CDN_DOMAIN=${SNAPSHOT_USE_CDN_DOMAIN}

mithril-infra/mithril.aggregator.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ EOT
8383
"export AGGREGATOR_HOST=${local.mithril_aggregator_host}",
8484
"export GOOGLE_APPLICATION_CREDENTIALS_JSON='${local.google_cloud_storage_credentials_json}'",
8585
"export SIGNED_ENTITY_TYPES='${var.mithril_aggregator_signed_entity_types}'",
86+
"export AGGREGATE_SIGNATURE_TYPE='${var.mithril_aggregator_aggregate_signature_type}'",
8687
"export SNAPSHOT_BUCKET_NAME='${google_storage_bucket.cloud_storage.name}'",
8788
"export SNAPSHOT_USE_CDN_DOMAIN='${var.mithril_aggregator_snapshot_use_cdn_domain}'",
8889
"export SNAPSHOT_COMPRESSION_ALGORITHM=${var.mithril_aggregator_snapshot_compression_algorithm}",

mithril-infra/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ variable "mithril_aggregator_signed_entity_types" {
230230
default = ""
231231
}
232232

233+
variable "mithril_aggregator_aggregate_signature_type" {
234+
type = string
235+
description = "The aggregate signature type used by the mithril aggregator to create certificates."
236+
default = "Concatenation"
237+
}
238+
233239
variable "mithril_aggregator_chain_observer_type" {
234240
type = string
235241
description = "The chain observer type used by the mithril aggregator."

0 commit comments

Comments
 (0)