Skip to content

Commit 045330d

Browse files
committed
Prepare Release 13.2.0.1
1 parent f9be54a commit 045330d

File tree

11 files changed

+20
-18
lines changed

11 files changed

+20
-18
lines changed

cardano-chain-gen/cardano-chain-gen.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-chain-gen
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: A fake chain generator for testing cardano DB sync.
66
description: A fake chain generator for testing cardano DB sync.
77
homepage: https://github.com/IntersectMBO/cardano-db-sync

cardano-db-sync/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Revision history for cardano-db-sync
22

3-
## 13.2.0.0
3+
## 13.2.0.1
44
* Added a new table `epoch_stake_progress` which indicates when `epoch_stake` is completed
55
* Uses the cache for the computation of `epoch` table when following
66
* `epoch_stake` is now computed earlier, before the epoch is reached
@@ -20,6 +20,7 @@
2020
* Partial Conway integration. You can read more in `doc/schema.md` (tagged as Conway). Also in files
2121
`schema/cardano-chain-gen/schema/migration-2-0032-20230815.sql` and `schema/cardano-chain-gen/schema/migration-2-0032-20230815.sql`
2222
for the raw sql migrations.
23+
* Removed `reward.id` field. `instant_reward` table also doesn't have an id field.
2324

2425
## 13.1.1.3
2526
* Adds compatibility with node-8.0.0 [#1403] and node-8.1.1 [#1455]

cardano-db-sync/cardano-db-sync.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-db-sync
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: The Cardano DB Sync node
66
description: A Cardano node that follows the Cardano chain and inserts data from the
77
chain into a PostgresQL database.

cardano-db-tool/cardano-db-tool.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-db-tool
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: Utilities to manage the cardano-db-sync databases.
66
description: Utilities and executable, used to manage and validate the
77
PostgreSQL db and the ledger database of the cardano-db-sync node

cardano-db/cardano-db.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-db
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: A base PostgreSQL component for the cardano-db-sync node.
66
description: Code for the Cardano DB Sync node that is shared between the
77
cardano-db-node and other components.

cardano-db/src/Cardano/Db/Schema.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ schemaDocs =
916916
\ since the other 2 types have moved to a separate table instant_reward.\
917917
\ The rewards are inserted incrementally and\
918918
\ this procedure is finalised when the spendable epoch comes. Before the epoch comes, some entries\
919-
\ may be missing."
919+
\ may be missing. The `reward.id` field has been removed and it only appears on docs due to a bug."
920920
RewardAddrId # "The StakeAddress table index for the stake address that earned the reward."
921921
RewardType # "The type of the rewards"
922922
RewardAmount # "The reward amount (in Lovelace)."
@@ -931,6 +931,7 @@ schemaDocs =
931931
InstantReward --^ do
932932
"A table for earned instant rewards. It includes only 2 types of rewards: reserves and treasury.\
933933
\ This table only exists for historic reasons, since instant rewards are depredated after Conway.\
934+
\ The `reward.id` field has been removed and it only appears on docs due to a bug.\
934935
\ New in 13.2"
935936
InstantRewardAddrId # "The StakeAddress table index for the stake address that earned the reward."
936937
InstantRewardType # "The type of the rewards."

cardano-db/test/cardano-db-test.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-db-test
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: Tests for the base functionality of the cardano-db library
66
description: Code for the Cardano DB Sync node that is shared between the
77
cardano-db-node and other components.

cardano-smash-server/cardano-smash-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22

33
name: cardano-smash-server
4-
version: 13.2.0.0
4+
version: 13.2.0.1
55
synopsis: The Cardano smash server
66
description: Please see the README on GitHub at
77
<https://github.com/IntersectMBO/cardano-db-sync/cardano-smash-server/#readme>

doc/migrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is `a.b.c.d`. where
88
different values.
99
- `d`: no semantic change to the db.
1010

11-
## Upgrading to 13.2.0.0
11+
## Upgrading to 13.2.0.x
1212

1313
In order to upgrade from 13.1.x.x to 13.2.0.x resyncing is not necessary and no special
1414
flags are required from the user. DBSync will automatically perform the new migrations under `schema`
@@ -21,7 +21,7 @@ Upgrading from 13.0.x to 13.2.0.x should be possible but hasn't been tested.
2121

2222
### Ledger replay
2323

24-
Release 13.2.0.0 drops the ledger snaphot serialisation compatibility. This means it's not able to
24+
Release 13.2.0.1 drops the ledger snaphot serialisation compatibility. This means it's not able to
2525
parse older ledger snapshots. DBSync will delete any existing snapshot and will replay the ledger
2626
rules from genesis. This doesn't mean a rollback to genesis. No db data are deleted.
2727

doc/schema.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
Resolving dependencies...
2-
Up to date
31
# Schema Documentation for cardano-db-sync
42

5-
Schema version: 13.2.0.0 (from branch **kderme/optimizations** which may not accurately reflect the version number)
3+
Schema version: 13.2.0.1
64
**Note:** This file is auto-generated from the documentation in cardano-db/src/Cardano/Db/Schema.hs by the command `cabal run -- gen-schema-docs doc/schema.md`. This document should only be updated during the release process and updated on the release branch.
75

86
### `schema_version`
@@ -383,7 +381,7 @@ A table for metadata attached to a transaction.
383381

384382
### `reward`
385383

386-
A table for earned staking rewards. After 13.2 release it includes only 3 types of rewards: member, leader and refund, since the other 2 types have moved to a separate table instant_reward. The rewards are inserted incrementally and this procedure is finalised when the spendable epoch comes. Before the epoch comes, some entries may be missing.
384+
A table for earned staking rewards. After 13.2 release it includes only 3 types of rewards: member, leader and refund, since the other 2 types have moved to a separate table instant_reward. The rewards are inserted incrementally and this procedure is finalised when the spendable epoch comes. Before the epoch comes, some entries may be missing. The `reward.id` field has been removed and it only appears on docs due to a bug.
387385

388386
* Primary Id: `id`
389387

@@ -399,7 +397,7 @@ A table for earned staking rewards. After 13.2 release it includes only 3 types
399397

400398
### `instant_reward`
401399

402-
A table for earned instant rewards. It includes only 2 types of rewards: reserves and treasury. This table only exists for historic reasons, since instant rewards are depredated after Conway. New in 13.2
400+
A table for earned instant rewards. It includes only 2 types of rewards: reserves and treasury. This table only exists for historic reasons, since instant rewards are depredated after Conway. The `reward.id` field has been removed and it only appears on docs due to a bug. New in 13.2
403401

404402
* Primary Id: `id`
405403

@@ -442,13 +440,15 @@ A table containing the epoch stake distribution for each epoch. This is inserted
442440

443441
### `epoch_stake_progress`
444442

443+
A table which shows when the epoch_stake for an epoch is complete
444+
445445
* Primary Id: `id`
446446

447447
| Column name | Type | Description |
448448
|-|-|-|
449449
| `id` | integer (64) | |
450-
| `epoch_no` | word31type | |
451-
| `completed` | boolean | |
450+
| `epoch_no` | word31type | The related epoch |
451+
| `completed` | boolean | True if completed. If not completed the entry won't exist or more rarely be False. |
452452

453453
### `treasury`
454454

0 commit comments

Comments
 (0)