cardano-db-sync
cardano-db-sync copied to clipboard
DB-Sync Incorrectly recording governance protocol parameters
Network
- SanchoNet
Versions
- Cardano node - 9.0.0
- Db-sync - sancho-5.1.0
Build/Install Method
The method you use to build or install cardano-db-sync
:
- docker image
Run method
The method you used to run cardano-db-sync
(eg Nix/Docker/systemd/none):
- docker
Additional context
- Related GovTool issue #1591 with more context.
Problem Report
- GovTool queries DBSync current protocol parameter data via the
epoch_param
table and this query. - Prior to the upgrade to Node 9.0.0 and DBSync sancho-5-1-0, this query would result in the correct current protocol parameters
- Now, some of these parameters are incorrect, it seems like it is governance related parameters which are reported as
0
instead of their correct value. - For example
"drep_activity": 0, "drep_deposit": 0,
but when these parameters are checked via my local node the results are"dRepActivity": 20, "dRepDeposit": 500000000,
.- This is further confirmed by the behaviour experienced when trying to register as a DRep via GovTool issue #1591.