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
9 changes: 8 additions & 1 deletion mithril-aggregator/src/http_server/routes/root_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ mod tests {
SignedEntityTypeDiscriminants::CardanoStakeDistribution,
SignedEntityTypeDiscriminants::CardanoImmutableFilesFull,
SignedEntityTypeDiscriminants::MithrilStakeDistribution,
SignedEntityTypeDiscriminants::CardanoTransactions,
SignedEntityTypeDiscriminants::CardanoDatabase,
]),
cardano_transactions_prover_max_hashes_allowed_by_request: 500,
..RouterConfig::dummy()
};
let dependency_manager = initialize_dependencies!().await;
Expand Down Expand Up @@ -161,9 +164,13 @@ mod tests {
SignedEntityTypeDiscriminants::CardanoStakeDistribution,
SignedEntityTypeDiscriminants::CardanoImmutableFilesFull,
SignedEntityTypeDiscriminants::MithrilStakeDistribution,
SignedEntityTypeDiscriminants::CardanoTransactions,
SignedEntityTypeDiscriminants::CardanoDatabase,
]),
aggregate_signature_type: AggregateSignatureType::Concatenation,
cardano_transactions_prover: None,
cardano_transactions_prover: Some(CardanoTransactionsProverCapabilities {
max_hashes_allowed_by_request: 500
}),
},
}
);
Expand Down
28 changes: 13 additions & 15 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -919,13 +919,8 @@ components:
type: array
minItems: 1
items:
description: Signed entity types that can be signed
type: string
enum:
- MithrilStakeDistribution
- CardanoStakeDistribution
- CardanoImmutableFilesFull
- CardanoTransactions
$ref: "#/components/schemas/SignedEntityTypes"

aggregate_signature_type:
description: Aggregate signature type used by the aggregator to create certificates
type: string
Expand Down Expand Up @@ -982,6 +977,16 @@ components:
- "latest"
- "latest-5"

SignedEntityTypes:
description: Signed entity types that can be signed
type: string
enum:
- MithrilStakeDistribution
- CardanoStakeDistribution
- CardanoImmutableFilesFull
- CardanoTransactions
- CardanoDatabase

EpochSettingsMessage:
description: Epoch settings
type: object
Expand Down Expand Up @@ -1066,14 +1071,7 @@ components:
type: array
minItems: 1
items:
description: Signed entity types that can be signed
type: string
enum:
- MithrilStakeDistribution
- CardanoStakeDistribution
- CardanoImmutableFilesFull
- CardanoTransactions
- CardanoDatabase
$ref: "#/components/schemas/SignedEntityTypes"
examples:
- {
"protocol_parameters": { "k": 9, "m": 77, "phi_f": 0.5 },
Expand Down
Loading