feat(op-reth): add L2 blob transaction support and acceptance tests#152
Open
blockchaindevsh wants to merge 1 commit intosgt_rust_v2from
Open
feat(op-reth): add L2 blob transaction support and acceptance tests#152blockchaindevsh wants to merge 1 commit intosgt_rust_v2from
blockchaindevsh wants to merge 1 commit intosgt_rust_v2from
Conversation
This was referenced Apr 7, 2026
Add EIP-4844 blob transaction support to op-reth, enabling blob transactions on L2 chains when l2BlobTime is configured. Type system changes (op-alloy): - Add Eip4844 variant to OpPooledTransaction, OpTxEnvelope, OpTypedTransaction, OpTxType, OpReceipt, OpReceiptEnvelope - Add try_into_pooled_eip4844() for consensus-to-pooled conversion - Update all exhaustive match arms across op-alloy, alloy-op-evm, op-reth crates Transaction pool (op-reth): - Implement take_blob(), validate_blob(), try_into_pooled_eip4844(), try_from_eip4844() for OpPooledTransaction - Add TakeBlobSidecar trait for sidecar extraction in from_pooled() - Add IntoPooledEip4844 trait for sidecar attachment - Gate blob txs on is_l2_blob_active_at_timestamp in validator and node builder (no_eip4844 when inactive) Payload builder (op-reth): - Collect blob sidecars during block building via take_blob() on pool txs before consensus conversion - Return sidecars in BlobsBundle in engine API getPayload response - Remove unconditional blob tx rejection from payload validator Block execution (alloy-op-evm): - Track actual blob_gas_used separately from da_footprint_used - Set blob_gas_used in block header from EIP-4844 tx blob gas Chain config (op-reth): - Parse l2BlobTime from genesis config.optimism - Add is_l2_blob_active_at_timestamp() to OpHardforks - Conditionally enable EIP-4844 in txpool validator External dependencies: - QuarkChain/reth l2_blob: add Eip4844 match arms in reth-codecs and reth-primitives-traits - QuarkChain/evm l2_blob: add Eip4844 match arms in alloy-evm op module (FromRecoveredTx, FromTxWithEncoded for OpTxEnvelope) Acceptance tests: - Add l2blob test under op-acceptance-tests/tests/l2blob/ - Add l2blob gate in acceptance-tests.yaml - Add justfile recipes for sgt and l2blob with op-reth env vars - Add DACUrls support to devstack L2CLConfig for DAC server config - Start DAC server in test init for blob upload/download verification Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
92711d4 to
db768d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ports l2 blob feature from op-geth to op-reth, the e2e tests are ported over to the acceptance tests.
Related PRs:
QuarkChain/reth#2
QuarkChain/evm#2