-
Notifications
You must be signed in to change notification settings - Fork 163
Description
OS
Your OS: Debian 12
Versions
cardano-node: cardano-node 10.5.0 - linux-x86_64 - ghc-9.6
cardano-db-sync: cardano-db-sync 13.6.0.5 - linux-x86_64 - ghc-8.10
PostgreSQL version: postgresql-15 15.13-0+deb12u1
Build/Install Method
downloaded pre-build binaries (tar.gz) from github
Run method
standalone
cardano-db-sync \
--config config/db-sync-config.json \
--socket-path ../db/node.socket \
--schema-dir schema/ \
--state-dir ledger-state/mainnet
Additional context
Getting different reward numbers from dbsync compared to public block explorers for almost every epoch for any random stake addr. After installing cardano-node 10.5.0 I dropped my cexplorer table and did a full resync using cardano-db-sync 13.6.0.4 (no snapshots used). I've just upgraded to 13.6.0.5 after the full sync was done.
Problem Report
example SQL I used:
select reward.spendable_epoch, reward.amount as lovelace
from reward inner join stake_address on reward.addr_id = stake_address.id
inner join pool_hash on reward.pool_id = pool_hash.id
where stake_address.view = 'stake1u8wy7ld73z22n8yu9pt56gt0getqg43yxj4932td88alwcghh4x3t'
order by earned_epoch desc;
screenshot shows the difference between my sql output and adastat.net for the stake addr in the SQL query above