Skip to content

Conversation

ferranbt
Copy link
Contributor

📝 Summary

Closes #80

/// flashblock block time in milliseconds
#[arg(
long = "flashblock.block-time",
long = "flashblocks.block-time",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am changing this flag too so that all of them have the same prefix


// If it is the last flashblocks, add the builder txn to the block if enabled
if flashblock_count == self.config.flashblocks_per_block() - 1 {
// TODO: Account for DA size limits
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Important note. It does not account neither yet for DA limits nor for gas limits. It is still a bit of an heuristic we have to figure out how to split gas limit and DA limit in flashblocks.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we want a builder tx for every flashblock?

revert_protection: args.enable_revert_protection,
block_time: Duration::from_millis(args.chain_block_time),
block_time_leeway: Duration::from_millis(500),
block_time_leeway: Duration::from_secs(args.extra_block_deadline_secs),
Copy link
Contributor Author

@ferranbt ferranbt May 30, 2025

Choose a reason for hiding this comment

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

This was missing, the flag extra-block-deadline-secs was not being used

@ferranbt ferranbt merged commit fa22d5c into main May 30, 2025
2 of 3 checks passed
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.

Add builder transaction to flashblocks builder

3 participants