Skip to content

validateEpochRewards issue when trying to restore old snapshot in new version of db-sync #2101

@ArturWieczorek

Description

@ArturWieczorek

I ran into validateEpochRewards issue on preview when trying to restore old snapshot taken for 13.6.0.5 in new version of db-sync -  13.7.0.2.

Logs snippet
⚠️ [db-sync-node:Warning] validateEpochRewards:
Epoch 1119: expected total 3655 rewards, but got 3512.

❌ [db-sync-node:Error] diffRewardMap:
(Sample of missing rewards:)
  "\224&4\192...": [] /= [(RwdMember,5919573)]
  "\224&4\204...": [] /= [(RwdMember,5109791)]
  ... [~130 lines omitted] ...

⚠️ [db-sync-node:Warning] validateEpochStake:
Epoch 1119: expected total stake 9394, but got 9991.

Full Logs
restoration_backwards_compability_check_13.6-preview_db_sync_13.7.0.2_node_10.7.0_logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions