Skip to content

Comments

Bedrock: driver/batcher refactor (Work in progress)#2693

Closed
protolambda wants to merge 3 commits intodevelopfrom
driver-batcher-refactor
Closed

Bedrock: driver/batcher refactor (Work in progress)#2693
protolambda wants to merge 3 commits intodevelopfrom
driver-batcher-refactor

Conversation

@protolambda
Copy link
Contributor

This PR:

  • Adds some sanity checks to the driver/derivation code
  • Implements new derivation code
  • Implements new batch-building code

The new derivation/batching is not integrated yet.

TODO:

  • Finish the general design (include latest feedback etc.)
  • Update code to latest design
  • Polish code: the buffering can be more elegant / efficient in some places
  • Testing:
    • test each reader individually
    • test the stack of readers (both driver and batcher variants)

In a separate PR we can swap out the original functions that derive and build this data.

This implements batching V2, for:

  • Fix the L2 tx size problem
  • EIP-4844 preparation
  • Efficiency (use all data we can)
  • Compression
  • Reduce verifier sync delay
  • Increase sequencing window
  • Handle concurrent batch submission

@changeset-bot
Copy link

changeset-bot bot commented Jun 6, 2022

⚠️ No Changeset found

Latest commit: 09404eb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mergify mergify bot requested review from Inphi and mslipper June 6, 2022 15:42
@mergify
Copy link
Contributor

mergify bot commented Jun 6, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

@protolambda
Copy link
Contributor Author

Closing this in favor of the other newer batch derivation refactor PR

@protolambda protolambda closed this Jun 9, 2022
@protolambda protolambda deleted the driver-batcher-refactor branch November 22, 2023 13:07
theochap added a commit that referenced this pull request Dec 10, 2025
…uce test flakiness (#2693)

## Description

This PR achieves the following goals:
- Extend the simple p2p connection tests of #2679 with more
comprehensive tests involving block signature and propagation (a follow
PR will add the cases for higher block versions, it requires updating
the rollup config with hardfork times)
- Fixes the network bootstrap logic to remove flakiness. In particular,
it uses kernel allocated ports for discovery/gossip to avoid static
modification races.
- It adds random valid block building logic
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.

1 participant