Skip to content

Commit 694734a

Browse files
committed
feat: update OpenAPI specification
Add new `current_cardano_transactions_signing_config` field which is returned by the '/epoch-settings' route.
1 parent 5b3bcbe commit 694734a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

openapi.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,25 @@ components:
733733
type: array
734734
items:
735735
$ref: "#/components/schemas/Signer"
736+
current_cardano_transactions_signing_config:
737+
description: |
738+
Cardano transactions signing configuration for the current epoch
739+
740+
Mandatory if `signed_entity_types` from the Aggregator configuration contains `CardanoTransactions`.
741+
type: object
742+
additionalProperties: false
743+
required:
744+
- security_parameter
745+
- step
746+
properties:
747+
security_parameter:
748+
description: Number of blocks to discard from the tip of the chain when importing Cardano transactions
749+
type: integer
750+
format: int64
751+
step:
752+
description: Number of blocks between signature of Cardano transactions
753+
type: integer
754+
format: int64
736755
example:
737756
{
738757
"epoch": 329,
@@ -771,7 +790,9 @@ components:
771790
"operational_certificate": "2c38382c3138372c3233332c34302c37322c31362c36365d2c312c3132332c5b31362c3136392c3134312c3138332c32322c3137342c3131312c33322c36342c35322c2c3232382c37392c3137352c32395312c3838282c323030",
772791
"kes_period": 876
773792
}
774-
]
793+
],
794+
"current_cardano_transactions_signing_config":
795+
{ "security_parameter": 100, "step": 10 }
775796
}
776797

777798
ProtocolParameters:

0 commit comments

Comments
 (0)