Skip to content

fix: pick up selfdestruct-refund balance fix from bnb-reth - #1

Merged
sduchesneau merged 2 commits into
firehose/0.1.xfrom
fix/bump-bnb-reth-selfdestruct-refund
Aug 10, 2026
Merged

fix: pick up selfdestruct-refund balance fix from bnb-reth#1
sduchesneau merged 2 commits into
firehose/0.1.xfrom
fix/bump-bnb-reth-selfdestruct-refund

Conversation

@sduchesneau

@sduchesneau sduchesneau commented Aug 10, 2026

Copy link
Copy Markdown

Bumps the locked streamingfast/bnb-reth rev to 60d0672f (streamingfast/bnb-reth#1), which ports streamingfast/reth#22 (v2.3.0-fh-7) to that fork's vendored crates/firehose.

On the truly-destroyed SELFDESTRUCT path (EIP-6780) revm credits the beneficiary in place and records the move only inside its AccountDestroyed journal entry — no BalanceTransfer — so resolve_post_tx_balance missed it, and a coinbase or sender that received a suicide refund reported a RewardTransactionFee / GasRefund old_balance contradicting the SuicideRefund event emitted moments earlier.

The Cargo.lock diff is exclusively the git rev on the bnb-reth source (103 source = lines, nothing else) — cargo update -p reth-firehose additionally downgraded unrelated transitive deps (itertools 0.13/0.14 → 0.12.1, socket2 0.6.4 → 0.5.10), so the rev was applied surgically instead. cargo check --locked --bin reth-bsc passes and leaves the lock untouched.

Validated with battlefield before the merge, building reth-bsc against the same tree: 82 passing, 3 pending, 0 failing on pnpm test:fh3.0:reth-bsc-dev, including all 9 Suicide cases.

🤖 Generated with Claude Code

sduchesneau and others added 2 commits August 10, 2026 13:58
Cargo.lock rev bump follows once streamingfast/bnb-reth#1 merges.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sduchesneau
sduchesneau marked this pull request as ready for review August 10, 2026 20:05
@sduchesneau
sduchesneau merged commit e9613e0 into firehose/0.1.x Aug 10, 2026
9 checks passed
@sduchesneau

Copy link
Copy Markdown
Author

battlefield passed

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