Skip to content

peerDAS - Unit test matchBlockWithDataColumns #7446

@twoeths

Description

@twoeths

Describe the bug

got this error during devnet

at SyncChain.sendBatch (file:///usr/app/packages/beacon-node/src/sync/range/chain.ts:410:19)
Feb-11 07:50:11.866[sync]          verbose: Batch download error id=Finalized, startEpoch=10, status=Downloading, peer=16...AoaHKR - Cannot read properties of undefined (reading 'signedBlockHeader')
    at SyncChain.sendBatch (file:///usr/app/packages/beacon-node/src/sync/range/chain.ts:410:19)
Feb-11 07:50:11.884[sync]          verbose: Batch download error id=Finalized, startEpoch=3, status=Downloading, peer=16...AoaHKR - Cannot read properties of undefined (reading 'signedBlockHeader')
    at SyncChain.sendBatch (file:///usr/app/packages/beacon-no

Expected behavior

  • need to check for undefined dataColumnSidecar or while ( (dataColumnSidecar = allDataColumnSidecars[dataColumnSideCarIndex])?.signedBlockHeader.message.slot === block.data.message.slot
  • need to add unit test for it

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

f4f8684

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta-bugIssues that identify a bug and require a fix.spec-fulu 🦓Issues targeting the Fusaka spec version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions