Skip to content

Conversation

@mattevans
Copy link
Member

…block

This change adds a new `BlobSchedule` type and associated logic to dynamically determine the maximum number of blobs allowed per block based on the current epoch.

The `BlobSchedule` is a slice of `BlobScheduleEntry` structs, each containing an `Epoch` and `MaxBlobsPerBlock`. The `GetMaxBlobsPerBlock` method on `BlobSchedule` allows querying the appropriate `MaxBlobsPerBlock` for a given epoch, handling cases where the epoch falls between defined schedule entries or before the first entry.

This functionality is integrated into the `Spec` struct, allowing the beacon state to manage and provide blob schedule information. This enables flexible configuration of blob limits over time, supporting network upgrades or changes in blob capacity.
@mattevans mattevans self-assigned this Jul 10, 2025
@mattevans mattevans merged commit b1a6c7f into release/fulu Jul 10, 2025
2 checks passed
@mattevans mattevans deleted the add-blob-schedule-to-spec branch July 10, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants