Skip to content

Figure out a better way to deal with sync_id #579

Description

@compojoom

We use the sync_id to know what ethindex updates we've processed.

However if we rest ethindex (drop tables, create tables, import abi and resync) it can happen that we forget to also update the last_sync_id file and the relay would try to sync from a non-existing place. This causes the balance updates in the app to be wrong.

We should either figure out a better way to deal with it or find another way to know the last synced state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions