Skip to content

Commit

Permalink
chore(cardano-services): temporarily downgrade chain-history version
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
mirceahasegan committed Jun 18, 2024
1 parent 53b8e86 commit e0dc90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/cardano-services-client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// auto-generated using ../scripts/createVersionSource.js
export const apiVersion = {
assetInfo: '1.0.0',
chainHistory: '3.1.0',
chainHistory: '3.0.1',
handle: '1.0.0',
networkInfo: '1.0.0',
rewards: '1.0.0',
Expand Down
10 changes: 5 additions & 5 deletions packages/cardano-services/src/ChainHistory/openApi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "3.1.0"
"version": "3.0.1"
},
"paths": {
"/v3.1.0/chain-history/health": {
"/v3.0.1/chain-history/health": {
"$ref": "../Http/schema.json#/paths/Health"
},
"/v3.1.0/chain-history/blocks/by-hashes": {
"/v3.0.1/chain-history/blocks/by-hashes": {
"post": {
"summary": "block history by hashes",
"operationId": "blocksByHashes",
Expand Down Expand Up @@ -50,7 +50,7 @@
}
}
},
"/v3.1.0/chain-history/txs/by-hashes": {
"/v3.0.1/chain-history/txs/by-hashes": {
"post": {
"summary": "transaction history by hashes",
"operationId": "transactionsByHashes",
Expand Down Expand Up @@ -88,7 +88,7 @@
}
}
},
"/v3.1.0/chain-history/txs/by-addresses": {
"/v3.0.1/chain-history/txs/by-addresses": {
"post": {
"summary": "transaction history by addresses",
"operationId": "transactionsByAddresses",
Expand Down

0 comments on commit e0dc90a

Please sign in to comment.