Features
- Payment credential and stake address on UTxOs and transaction outputs.
utxosand transactionoutputsnow exposepaymentCredentialandstakeAddress, and both can be used inwhere,order_byanddistinct_on. This makes CIP-113 programmable tokens queryable: they all share one payment credential (the programmable logic base script) and are owned by stake credential, so filtering by both returns a holder's programmable-token balance. Token metadata comes through as usual via the token registry (CIP-26 / CIP-68). Both filters use existing cardano-db-sync indexes. (#1060) - Off-chain DRep profiles (CIP-119). New
offChainVoteDrepDataquery withgivenName,motivations,objectives,qualifications,imageUrl,imageHashandpaymentAddress, plus anoffChainVoteDrepDatalink onOffChainVoteData, so a DRep ID resolves to its profile in one query (drepRegistrations → votingAnchor → offChainData → offChainVoteDrepData). (#1065)
Upgrade notes
hasura-setupmust re-run. This release changes theUtxoandTransactionOutputviews and the Hasura metadata. The provided docker-compose stack runs it automatically onup. Custom deployments (e.g. Kubernetes) must run thehasura-setupjob (node setup.js) before starting the newserverandbackground.- No cardano-db-sync resync is required.
- Custom cardano-node configs: if you take the 11.1.x configs from upstream, set Prometheus to
"PrometheusSimple suffix 0.0.0.0 12798". Upstream ships127.0.0.1, which the server cannot reach, andcardanoDbMetathen fails.
Known issues
- Aliasing the same nested field twice (e.g.
a: outputs(where: …)next tooutputs(where: …)) can return the wrong data for the alias. Alias at the root level instead. OffChainVoteData.offChainVoteReferencealways returnsnull. This will be fixed together with a type change (it should be a list) in an upcoming breaking release.
Tested with
| Component | Version |
|---|---|
| cardano-node | 11.1.3 |
| cardano-db-sync | 13.7.2.1 |
| Token Metadata Registry | 1.7.0 |
| Mithril | 2630.1-hotfix |
What's Changed
- feat: expose payment credential and stake address on utxos and outputs by @VladislavKudrin in #1060
- fix: parse nested hash filter arguments before delegating to hasura by @VladislavKudrin in #1061
- chore: bump node to 11.1.3, token registry to 1.7.0 and mithril to 2630.1-hotfix by @VladislavKudrin in #1062
- fix: never pull the submit-api image so unreleased node versions start in one command by @VladislavKudrin in #1063
- test: add preprod goldens and repair stale placeholder goldens by @VladislavKudrin in #1064
- feat: expose off-chain drep profile data by @VladislavKudrin in #1065