Skip to content

Commit

Permalink
Fix Logs schema
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Dec 13, 2023
1 parent f2bc77f commit 06a4a89
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions hydra-node/json-schemas/logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ definitions:
- missing
- acknowledged
- localCounter
- partyIndex
- theirIndex
properties:
tag:
type: string
Expand All @@ -500,7 +500,7 @@ definitions:
type: array
items:
type: number
partyIndex:
theirIndex:
type: number
- title: BroadcastCounter
description: >-
Expand All @@ -509,13 +509,13 @@ definitions:
additionalProperties: false
required:
- tag
- partyIndex
- ourIndex
- localCounter
properties:
tag:
type: string
enum: ["BroadcastCounter"]
partyIndex:
ourIndex:
type: number
localCounter:
type: array
Expand All @@ -528,13 +528,13 @@ definitions:
additionalProperties: false
required:
- tag
- partyIndex
- ourIndex
- localCounter
properties:
tag:
type: string
enum: ["BroadcastPing"]
partyIndex:
ourIndex:
type: number
localCounter:
type: array
Expand All @@ -549,7 +549,8 @@ definitions:
- tag
- acknowledged
- localCounter
- partyIndex
- theirIndex
- ourIndex
properties:
tag:
type: string
Expand All @@ -562,7 +563,9 @@ definitions:
type: array
items:
type: number
partyIndex:
theirIndex:
type: number
ourIndex:
type: number
- title: ClearedMessageQueue
description: >-
Expand Down Expand Up @@ -590,7 +593,8 @@ definitions:
- tag
- acknowledged
- localCounter
- partyIndex
- theirIndex
- ourIndex
properties:
tag:
type: string
Expand All @@ -603,7 +607,9 @@ definitions:
type: array
items:
type: number
partyIndex:
theirIndex:
type: number
ourIndex:
type: number
- title: ReliabilityFailedToFindMsg
description: >-
Expand Down Expand Up @@ -2063,19 +2069,19 @@ definitions:
tag:
type: string
enum: ["WaitOnContestationDeadline"]
- title: WaitOnSeenTxs
- title: WaitOnTxs
description: >-
Some transactions from a proposed snapshot have not been seen yet
Some transactions from a proposed snapshot have not been seen yet.
type: object
additionalProperties: false
required:
- tag
- unseenTxIds
- waitingForTxIds
properties:
tag:
type: string
enum: ["WaitOnSeenTxs"]
unseenTxIds:
enum: ["WaitOnTxs"]
waitingForTxIds:
type: array
items:
$ref: "api.yaml#/components/schemas/TxId"
Expand Down

0 comments on commit 06a4a89

Please sign in to comment.