Skip to content

MIssing Blocks and Transactions #32

@bh2smith

Description

@bh2smith

There are three gaps in our blocks and transactions table identified with:

WITH all_numbers AS (
    SELECT generate_series(MIN(18562218), MAX(19316649)) AS num
    FROM blocks
),

missing_blocks as (SELECT an.num
                   FROM all_numbers an
                            LEFT JOIN blocks yt ON an.num = yt.number
                   WHERE yt.number IS NULL)

-- select count(*) from transactions where block_number in (select num from missing_blocks);

-- select * from erc721_transfer where block_number in (select num from missing_blocks);

The results are in three isolated chunks:

  1. (200 blocks) from 18562220 to 18562419
  2. (200 blocks) from 18562520 to 18562719
  3. (50 blocks) from 18844270 to 18844319

The logs for this are too old to recover.

I propose clear the DB from 18562220 and let it repopulate. This would give us the opportunity to see whats went wrong and shouldn't take too long to recover from (i.e. November 13 2023)

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