Cardano DB Sync 13.0.0
This release introduces support for Vasil.
This release is compatible with Cardano Node 1.35.0.
The state snapshot files for this release can be found here:
| Network | Link to snapshot |
|---|---|
| Testnet | https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/index.html#13/ |
| Mainnet | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13/ |
Documentation for restoring from these files available at state-snapshot.md.
Requires ghc-8.10.x to build.
Added
- Added
--disable-ledgerflag, which significantly reduces memory usage. Read more atdoc/configuration.md. - Added
--disable-cacheflag, which slightly reduces memory usage. Read more atdoc/configuration.md. - Handle
PlutusV1andPlutusV2scripts as separate script types, removing oldPlutustype. - Store CBOR serialized
DatumandRedeemerviabytesfield. - HF integration. Schema changes for new Babbage fields. (#1081).
- Used pulsing rewards coming from new ledger events. Also incremental stake slices.
- Added connection pools for smash, instead of opening a connection for each request. Configurable with
--poolfor admins. - Added docker healthchecks for postgres and cardano-node.
- Allow to add additional migrations (indexes and views) (#1044).
- Added multiple unit tests.
- Store
requiredSigners(transaction extra key witnesses). - Outputs, inputs and multi asset outputs are stored in batches grouped by blocks, instead of one by one.
- Log cabal version, git hash and command line options on startup (#1166).
Improved
- Reduction in memory usage.
- Reduction in sync-time.
- Renamed
--no-epoch-tableflag todisable-epoch. Read more atdoc/configuration.md. - Improved logging. It includes some performance statistics.
- Extended the caches.
- Reduced the blocks it takes for prometheus block height to be updated.
pool_ownernow referencespool_updateinstead ofpool_hashandtx(#986).
Removed
BulkOperationswhich affected memory usage and rollbacks are removed.- Removed "no-store" from metadata caching for smash (#1075)
- Removed plugin System, merges 3 packages
cardano-db-sync-extended,cardano-syncandcardano-db-syncinto the last.
Resolved
- Fix unique keys of
reserves,treasury,pool_update,pool_retire,stake_registration,stake_deregistration,delegation(#1051). - Fix smash server error "Pool is retired" for pools that don't exist. (#997)
- Fix duplicate instant rewards (#981).
- Fix handling of StakeRefPtr (#1024).
- Fix parameter_proposal.max_block_size (#965).
- Fixes on testnets that fork directly to Shelley (#953).
Known issues
- When
--disable-ledgerflag is enabled, the--state-diroption still needs to be provided, even though db-sync will completely ignore it. - Unhandled DCertGenesis certificate #290
Documentation
Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
Validation
The Plug-in System
State snapshot
Smash
Platforms
- Linux 64-bit
- Docker
Sign off
| Role | Approval |
|---|---|
| Technical Lead | ✔️ |
| QA Engineer | ✔️ |
| Ops | ✔️ |
| Release Manager | ✔️ |