Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: full blocks, bundling & compression, blob usage optimization & tracking #125

Draft
wants to merge 178 commits into
base: master
Choose a base branch
from

Conversation

segfault-magnet
Copy link
Contributor

closes: #116
closes: #124 (thanks to @hal3e for contributing)

description pending soon ™️ , doing a live presentation to the team at the moment...

@segfault-magnet segfault-magnet added the enhancement New feature or request label Sep 24, 2024
@segfault-magnet segfault-magnet self-assigned this Sep 24, 2024
Comment on lines +129 to +140
/// - **Exclusion of Stale Blocks:** If a block arrives with a height less than the current
/// height minus the `block_height_lookback`, it will be excluded from the bundling process.
///
/// - **Bundling Behavior:**
/// - **Unbundled Blocks:** Blocks outside the lookback window will not be bundled.
/// - **Already Bundled Blocks:** If a block has already been bundled, its fragments will
/// not be sent to L1.
/// - **Failed Submissions:** If fragments of a bundled block were sent to L1 but failed,
/// they will not be retried.
///
/// This approach effectively "gives up" on blocks that fall outside the defined window.
pub block_height_lookback: u32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still going over the code, but I have a question about this: Based on this bundling behavior, is there a chance that a block will be wrongfully excluded from bundling, thus not sending it to the L1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submit full fuel blocks to l1, not just tx hashes blob utilization
4 participants