Skip to content

Commit 6961269

Browse files
Update from github-actions[bot] running command 'prdoc --audience runtime_dev --bump patch'
1 parent 8bd0efd commit 6961269

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

prdoc/pr_11801.prdoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: 'eth-rpc: skip receipt extraction for finalized blocks already processed as
2+
best'
3+
doc:
4+
- audience: Runtime Dev
5+
description: |-
6+
### Motivation
7+
Both the best and finalized block subscriptions extract receipts independently, so every block is processed twice. This skips redundant extraction on the finalized path when the block was already handled by the best block subscription.
8+
9+
### Summary
10+
- Skip redundant receipt extraction on finalized blocks already processed by the best block subscription
11+
- Read logs from DB for skipped blocks only when log subscribers exist
12+
- Refactor: extract process_block helper, parse_log_row shared function, advance_sync_head
13+
- Add unit tests for get_processed_eth_block_hash and logs_by_block_number
14+
crates:
15+
- name: pallet-revive-eth-rpc
16+
bump: patch

0 commit comments

Comments
 (0)