Skip to content

core, miner, consensus/bor, eth, triedb/pathdb: pipelined state root computation for block import#2180

Open
pratikspatil024 wants to merge 70 commits into
developfrom
pipelined-src
Open

core, miner, consensus/bor, eth, triedb/pathdb: pipelined state root computation for block import#2180
pratikspatil024 wants to merge 70 commits into
developfrom
pipelined-src

miner, tests: guard GetTd underflow, tighten RPC test setup

ccedec8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 23, 2026 in 0s

54.09% (+0.01%) compared to 55cac19

View this Pull Request on Codecov

54.09% (+0.01%) compared to 55cac19

Details

Codecov Report

❌ Patch coverage is 45.88369% with 1433 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.09%. Comparing base (55cac19) to head (ccedec8).

Files with missing lines Patch % Lines
miner/pipeline.go 5.42% 749 Missing ⚠️
miner/worker.go 61.80% 89 Missing and 21 partials ⚠️
core/state/warm_snapshot.go 44.85% 63 Missing and 12 partials ⚠️
core/state/statedb.go 82.60% 63 Missing and 9 partials ⚠️
core/blockchain_reader.go 50.35% 64 Missing and 5 partials ⚠️
core/state/trie_prefetcher.go 22.22% 51 Missing and 5 partials ⚠️
consensus/bor/bor.go 43.75% 54 Missing ⚠️
triedb/pathdb/reader.go 32.25% 41 Missing and 1 partial ⚠️
tests/bor/helper.go 63.15% 21 Missing and 7 partials ⚠️
core/block_validator.go 20.00% 14 Missing and 6 partials ⚠️
... and 17 more
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2180      +/-   ##
===========================================
+ Coverage    54.07%   54.09%   +0.01%     
===========================================
  Files          907      911       +4     
  Lines       162012   165335    +3323     
===========================================
+ Hits         87615    89442    +1827     
- Misses       68984    70380    +1396     
- Partials      5413     5513     +100     
Files with missing lines Coverage Δ
core/blockchain.go 64.87% <ø> (+1.79%) ⬆️
core/blockchain_insert.go 78.50% <100.00%> (+1.27%) ⬆️
core/evm.go 93.67% <100.00%> (+19.65%) ⬆️
core/stateless/encoding.go 63.49% <ø> (ø)
core/stateless/witness.go 44.64% <100.00%> (+6.02%) ⬆️
core/txpool/blobpool/blobpool.go 54.87% <100.00%> (ø)
core/types/block.go 43.19% <ø> (ø)
eth/ethconfig/config.go 78.94% <ø> (ø)
eth/peer.go 95.80% <100.00%> (ø)
internal/cli/server/flags.go 100.00% <100.00%> (ø)
... and 30 more

... and 20 files with indirect coverage changes

Files with missing lines Coverage Δ
core/blockchain.go 64.87% <ø> (+1.79%) ⬆️
core/blockchain_insert.go 78.50% <100.00%> (+1.27%) ⬆️
core/evm.go 93.67% <100.00%> (+19.65%) ⬆️
core/stateless/encoding.go 63.49% <ø> (ø)
core/stateless/witness.go 44.64% <100.00%> (+6.02%) ⬆️
core/txpool/blobpool/blobpool.go 54.87% <100.00%> (ø)
core/types/block.go 43.19% <ø> (ø)
eth/ethconfig/config.go 78.94% <ø> (ø)
eth/peer.go 95.80% <100.00%> (ø)
internal/cli/server/flags.go 100.00% <100.00%> (ø)
... and 30 more

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.