Skip to content

Cardano DB Sync 13.0.0

Compare
Choose a tag to compare
@LaurenceIO LaurenceIO released this 04 Jul 10:38
· 680 commits to master since this release
13.0.0
67367b5

This release introduces support for Vasil.

This release is compatible with Cardano Node 1.35.0.

⚠️ Note that this release requires the database to be dropped and recreated.

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.

Hydra binaries download

Added

  • Added --disable-ledger flag, which significantly reduces memory usage. Read more at doc/configuration.md.
  • Added --disable-cache flag, which slightly reduces memory usage. Read more at doc/configuration.md.
  • Handle PlutusV1 and PlutusV2 scripts as separate script types, removing old Plutus type.
  • Store CBOR serialized Datum and Redeemer via bytes field.
  • 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 --pool for 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-table flag to disable-epoch. Read more at doc/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_owner now references pool_update instead of pool_hash and tx (#986).

Removed

  • BulkOperations which 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-sync and cardano-db-sync into 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-ledger flag is enabled, the --state-dir option 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

Sign off

Role Approval
Technical Lead ✔️
QA Engineer ✔️
Ops ✔️
Release Manager ✔️