Skip to content

[getBlobsV2] Review getBlobsV2 usage #8281

@twoeths

Description

@twoeths

Describe the bug

we may call getBlobsV2 more than needed

Image

even when EL responses with data, we may call it twice per slot, and getBlobs is not cheap, it could be up to 4s as in fusaka-devnet-3 before the fix in #8271

Expected behavior

  • we can call getBlobsV2 but one should be after another, it's pretty heavy especially we increase MAX_BLOBS_PER_BLOCK later
  • make sure success response (with data) is <= 1 per slot consistently

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

unstable

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta-bugIssues that identify a bug and require a fix.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions