Cardano DB Sync 11.0.0
This release introduces support for Alonzo.
It is compatible with Cardano Node 1.29.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#11/ |
| Mainnet | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/ |
Documentation for restoring from these files available at state-snapshot.md.
Requires ghc-8.10.x to build.
Added
- Introduces Alonzo support.
- Database changes as per cardano-db changelog.
- Add run time validation that the on-disk schema matches what the app expects (#472).
- Add partial validation of
Rewardtable. - Add Alonzo (smart contracts) related Redeemer and Script tables.
- Add an
epochNocolumm to StakeRegistration/Deregistration tables. - Add instantaneous rewards to the
Rewardtable. This adds two new reward sources (treasuryandreservesto the existingleaderandmembertypes) and makes thepoolIdNULLable (treasury and reserves rewards are not associated with a pool). - For the
EpochSyncTimetable change thesecondscolumn fromdoubletoWord64and make it non-NULLable. - For the
Rewardtable, drop theepochNocolumn and relace it withearnedEpochandspendableEpoch - Add
opCertCountercolumn toBlocktable. - Add
dataHashfield to theTxOuttable. - Add a validation to ensure the sum of the AdaPots values per epoch is a constant (#718). - cardano-db-tool
- Add reporting functionalities (balance, teansactions, reward history, latest rewards). - cardano-db-tool
Improved
- Extend
ProtocolParamsandEpochParamstables for Alonzo.
Removed
- Drop
OrphanedRewrdtable (because it was incomplete can cannot be fixed).
Resolved
- Fix
utxo_viewdefined in schema (#744).
Known issues
- Unhandled DCertGenesis certificate #290
- Missing staking rewards #683
- db-sync makes a rollback after using RESTORE_SNAPSHOT #784
- Please use the below workaround for this issue:
Modifydocker-compose‧ymlto add the following elements:
- Please use the below workaround for this issue:
services:
cardano-db-sync:
working_dir: /var/lib/cdbsync
volumes:
- db-sync-tmp:/tmp
volumes:
db-sync-tmp:
Documentation
Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
Validation
The Plug-in System
State snapshot
Platforms
- Linux 64-bit
- Docker
Sign off
| Role | Approval |
|---|---|
| Technical Lead | ✔️ |
| QA Engineer | ✔️ |
| Ops | ⏳ |
| Release Manager | ✔️ |