Skip to content

Fix Firehose output of non-EVM transactions and operator-fee refunds - #117

Merged
maoueh merged 2 commits into
release/optimism-2.xfrom
feature/ship-reth-lagoon-firehose-fix-op-reth-v2-11-0-fh3
Dec 4, 2026
Merged

maoueh merged 2 commits into
release/optimism-2.xfrom
feature/ship-reth-lagoon-firehose-fix-op-reth-v2-11-0-fh3

Conversation

@maoueh

@maoueh maoueh commented Dec 3, 2026

Copy link
Copy Markdown
  • PreTxAdjust::is_non_evm_tx: a transaction applied without the EVM (OP Stack Lagoon post-exec 0x7D) now records a zero-gas root call so the tracer keeps its receipt and status. Post-tx balance changes and chain extras are skipped for it, since the EVM context still holds the previous transaction.
  • PostTxExtras::extra_sender_refund: chains can add a non-gas-priced part to the sender's single GasRefund balance change (OP Stack operator fee of the unused gas), so the traced balance matches state.
  • Both hooks default to no-op, so other chains are unaffected. The OP implementations live in the optimism repo.
  • Adds op-reth-v2.11.0-fh3.1-1 to CHANGELOG.sf.md.

Trace a transaction applied without the EVM (OP Stack post-exec 0x7D) with a zero-gas root
call so the tracer keeps its receipt and status, and skip the post-tx balance changes that
read the previous transaction's EVM context. Let chains add a non-gas-priced part to the
sender's GasRefund (OP Stack operator fee of the unused gas).
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Merging this PR will only tag op-reth-v2.11.0-fh3.1-1

Note

🏷️ Tag only: nothing is built, no GitHub release is created and nothing is published.

  • Creates the tag op-reth-v2.11.0-fh3.1-1 on the merge commit
Release notes

Fixed

  • FirehoseWrappedExecutor traces a transaction applied without the EVM (OP Stack post-exec 0x7D transaction, flagged by the new PreTxAdjust::is_non_evm_tx) with a zero-gas root call, so the tracer keeps its receipt and status, and skips the post-tx balance changes and chain extras that read the previous transaction's EVM context.
  • The sender's GasRefund balance change can include a chain-specific refund that is not priced per gas: the new PostTxExtras::extra_sender_refund hook (default zero) feeds the new extra_sender_refund argument of process_post_tx_balance_changes. OP Stack uses it for the operator fee of the unused gas.

@maoueh
maoueh merged commit 539090d into release/optimism-2.x Dec 4, 2026
2 of 4 checks passed
@maoueh
maoueh deleted the feature/ship-reth-lagoon-firehose-fix-op-reth-v2-11-0-fh3 branch December 4, 2026 21:46
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