Skip to content

feat: index transaction fees, execution status, and calldata - #159

Merged
PJColombo merged 2 commits into
masterfrom
codex/transaction-receipt-fees
Nov 15, 2026
Merged

PJColombo merged 2 commits into
masterfrom
codex/transaction-receipt-fees

Conversation

@PJColombo

@PJColombo PJColombo commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Index execution receipt data, execution status, and calldata for blob transactions so Blobscan can calculate the total fee paid.

Part of Blobscan/blobscan#1130.

Companion monorepo PR: Blobscan/blobscan#1143.

Selected execution block
  → blob transactions
  → fetch and validate receipts
  → send gasUsed, effectiveGasPrice, executionStatus, input, and block baseFeePerGas

Require receipt fields explicitly and match transaction and block identities. Limit receipt requests to four concurrent requests per block, use a 16-second timeout, and retry unavailable receipts up to five times. Keep the existing gasPrice field unchanged. Receipt status 0x1 maps to success, and 0x0 maps to failed. Missing or invalid status prevents indexing. Failed transaction execution still retains its fees.

Evidence

  • Before: Indexing sent neither execution gas used nor calldata, and did not read the receipt gas price.
    After: Block-processing tests verify receipt fields, calldata, retries, identity mismatches, missing prices, missing or invalid status, and failed execution.
  • All 66 Rust tests passed, including the existing fork and reorg tests.
  • cargo +stable fmt --all --check passed.
  • cargo +stable clippy --locked --offline --all --all-features completed with existing warnings.

Merge Danger

Door: two-way

The indexer can be rolled back while the monorepo retains the new nullable fields.

Blast Radius: indexing

Deploy the companion monorepo migration and API first. Missing or inconsistent receipt data now fails the block attempt instead of indexing incomplete fee data. The execution RPC must serve receipts for the indexed blocks.

@PJColombo PJColombo changed the title feat: index execution fees and transaction calldata feat: index transaction fees, execution status, and calldata Nov 14, 2026
@PJColombo
PJColombo merged commit 43ca019 into master Nov 15, 2026
1 check passed
@PJColombo
PJColombo deleted the codex/transaction-receipt-fees branch November 15, 2026 05:09
@github-actions github-actions Bot mentioned this pull request Nov 15, 2026
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