IntersectMBO / IntersectMBO/cardano-db-sync

Incorrect Bech32 Prefix for script-based DReps

Open
#1,848 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
318
Forks
168
PR merge metrics
No merged PRs in 30d

Description

**OS**
Your OS: Unbuntu

**Versions**
The `db-sync` version (eg `cardano-db-sync --version`):
PostgreSQL version: [13.5.0.1](https://github.com/IntersectMBO/cardano-db-sync/releases/tag/13.5.0.1)

**Build/Install Method**
The method you use to build or install `cardano-db-sync`: binaries

**Run method**
The method you used to run `cardano-db-sync` (eg Nix/Docker/systemd/none):

**Additional context**

**Problem Report**

- `drep_hash` table view does not reflect different bech32 prefix for script-based DReps
- As per CIP-0005, script based DReps use the prefix of `drep_script` whereas key based DReps use just `drep` [here](https://github.com/cardano-foundation/CIPs/blob/master/CIP-0005/README.md?plain=1#L110)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.