Skip to content

Commit 3dab292

Browse files
committed
chore(cardano-services): temporarily downgrade chain-history version
openApi 3.1.0 version bump brought only two conway-era specific Redeemer purpose enum values: "vote" and "propose". Which makes it backwards compatible to 3.0.1 back-ends. But the version check does not allow querying 3.0.1 back-ends. To avoid upgrading deployments just for the sake of accepting 3.1.0 requests, I am temporarily dropping the version back to 3.0.1. Once all deployments are upgraded to Cardano Node 8.9.2 version, I will bump this version back to 3.1.0 (LW-10774)
1 parent 53b8e86 commit 3dab292

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/cardano-services/src/ChainHistory/openApi.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"name": "Apache 2.0",
77
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
88
},
9-
"version": "3.1.0"
9+
"version": "3.0.1"
1010
},
1111
"paths": {
12-
"/v3.1.0/chain-history/health": {
12+
"/v3.0.1/chain-history/health": {
1313
"$ref": "../Http/schema.json#/paths/Health"
1414
},
15-
"/v3.1.0/chain-history/blocks/by-hashes": {
15+
"/v3.0.1/chain-history/blocks/by-hashes": {
1616
"post": {
1717
"summary": "block history by hashes",
1818
"operationId": "blocksByHashes",
@@ -50,7 +50,7 @@
5050
}
5151
}
5252
},
53-
"/v3.1.0/chain-history/txs/by-hashes": {
53+
"/v3.0.1/chain-history/txs/by-hashes": {
5454
"post": {
5555
"summary": "transaction history by hashes",
5656
"operationId": "transactionsByHashes",
@@ -88,7 +88,7 @@
8888
}
8989
}
9090
},
91-
"/v3.1.0/chain-history/txs/by-addresses": {
91+
"/v3.0.1/chain-history/txs/by-addresses": {
9292
"post": {
9393
"summary": "transaction history by addresses",
9494
"operationId": "transactionsByAddresses",

0 commit comments

Comments
 (0)