Skip to content

Commit bebb0a6

Browse files
committed
fix: proposal's dropped_epoch description
fix: proposal's dropped_epoch description
1 parent 018dc52 commit bebb0a6

9 files changed

Lines changed: 12 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Unreleased changes are in the `master` branch.
99

1010
## [Unreleased]
1111

12+
### Fixed
13+
14+
- `/governance/proposals/:tx_hash/:cert_index`: fixed description for `dropped_epoch`
15+
1216
## [0.1.76] - 2025-04-03
1317

1418
### Fixed

blockfrost-openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6779,7 +6779,7 @@ components:
67796779
dropped_epoch:
67806780
type: integer
67816781
nullable: true
6782-
description: The epoch at which the proposal was dropped. A proposal is dropped if it expires, is enacted, or if any of its dependencies expire.
6782+
description: The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire.
67836783
expired_epoch:
67846784
type: integer
67856785
nullable: true

docs/blockfrost-openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7119,7 +7119,7 @@ components:
71197119
nullable: true
71207120
description: >-
71217121
The epoch at which the proposal was dropped. A proposal is dropped
7122-
if it expires, is enacted, or if any of its dependencies expire.
7122+
if it expires or if any of its dependencies expire.
71237123
expired_epoch:
71247124
type: integer
71257125
nullable: true

json-schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9289,7 +9289,7 @@
92899289
"dropped_epoch": {
92909290
"type": "integer",
92919291
"nullable": true,
9292-
"description": "The epoch at which the proposal was dropped. A proposal is dropped if it expires, is enacted, or if any of its dependencies expire."
9292+
"description": "The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire."
92939293
},
92949294
"expired_epoch": {
92959295
"type": "integer",

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7119,7 +7119,7 @@ components:
71197119
nullable: true
71207120
description: >-
71217121
The epoch at which the proposal was dropped. A proposal is dropped
7122-
if it expires, is enacted, or if any of its dependencies expire.
7122+
if it expires or if any of its dependencies expire.
71237123
expired_epoch:
71247124
type: integer
71257125
nullable: true

src/generated-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7113,7 +7113,7 @@ export interface components {
71137113
ratified_epoch: number | null;
71147114
/** @description The epoch at which the proposal was enacted. Null if the proposal has not been enacted. */
71157115
enacted_epoch: number | null;
7116-
/** @description The epoch at which the proposal was dropped. A proposal is dropped if it expires, is enacted, or if any of its dependencies expire. */
7116+
/** @description The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire. */
71177117
dropped_epoch: number | null;
71187118
/** @description The epoch at which the proposal expired. Null if the proposal has not expired. */
71197119
expired_epoch: number | null;

src/schemas/governance/proposal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ properties:
4141
dropped_epoch:
4242
type: integer
4343
nullable: true
44-
description: The epoch at which the proposal was dropped. A proposal is dropped if it expires, is enacted, or if any of its dependencies expire.
44+
description: The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire.
4545
expired_epoch:
4646
type: integer
4747
nullable: true

test/tests/__snapshots__/get-schema-for-endpoint.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12529,7 +12529,7 @@ under which it is valid
1252912529
"type": "string",
1253012530
},
1253112531
"dropped_epoch": {
12532-
"description": "The epoch at which the proposal was dropped. A proposal is dropped if it expires, is enacted, or if any of its dependencies expire.",
12532+
"description": "The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire.",
1253312533
"nullable": true,
1253412534
"type": "integer",
1253512535
},

0 commit comments

Comments
 (0)