Skip to content

feat(op-reth): add L2 blob transaction support and acceptance tests#152

Open
blockchaindevsh wants to merge 1 commit intosgt_rust_v2from
l2_blob
Open

feat(op-reth): add L2 blob transaction support and acceptance tests#152
blockchaindevsh wants to merge 1 commit intosgt_rust_v2from
l2_blob

Conversation

@blockchaindevsh
Copy link
Copy Markdown

This PR ports l2 blob feature from op-geth to op-reth, the e2e tests are ported over to the acceptance tests.

Port L2 blob (EIP-4844) support from op-geth to op-reth, enabling blob
transactions on L2 chains when the l2BlobTime config is set.

op-reth changes:
- Add is_l2_blob_active_at_timestamp() to OpHardforks trait
- Add l2_blob_activation_timestamp field to OpChainSpec, parsed from
  genesis config.optimism.l2BlobTime (same pattern as SGT)
- Conditionally allow EIP-4844 txs in txpool validator, payload builder,
  and node pool setup when L2 blob is active
- Use actual blob_gas_used from execution in block assembly when L2 blob
  is active
- Validate blob gas in consensus when L2 blob is active

Acceptance tests:
- Add l2blob test package under isthmus gate
- TestSubmitL2BlobTransaction: sends 3-blob tx, verifies inclusion and
  blob gas usage in block header
- TestSubmitL2BlobTransactionWithDAC: optional DAC server verification

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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