Skip to content

Merge remote-tracking branch 'origin/main' into hm/cache-load_execute…

f2b17de
Select commit
Loading
Failed to load commit list.
Merged

perf: add lru cache for load_executed_tipset to speed up hot queries #6761

Merge remote-tracking branch 'origin/main' into hm/cache-load_execute…
f2b17de
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 24, 2026 in 0s

63.60% (+0.02%) compared to 7868455

View this Pull Request on Codecov

63.60% (+0.02%) compared to 7868455

Details

Codecov Report

❌ Patch coverage is 68.33333% with 57 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.60%. Comparing base (7868455) to head (f2b17de).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/state_manager/mod.rs 80.95% 15 Missing and 5 partials ⚠️
src/rpc/methods/eth.rs 40.00% 7 Missing and 11 partials ⚠️
src/rpc/methods/miner.rs 0.00% 10 Missing ⚠️
src/utils/get_size/mod.rs 0.00% 3 Missing ⚠️
src/chain/store/chain_store.rs 0.00% 1 Missing ⚠️
src/daemon/db_util.rs 0.00% 1 Missing ⚠️
src/rpc/methods/eth/filter/mod.rs 66.66% 0 Missing and 1 partial ⚠️
src/rpc/methods/state.rs 50.00% 1 Missing ⚠️
src/tool/subcommands/archive_cmd.rs 0.00% 1 Missing ⚠️
src/tool/subcommands/snapshot_cmd.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
src/chain_sync/tipset_syncer.rs 63.69% <100.00%> (+0.24%) ⬆️
src/daemon/mod.rs 28.98% <ø> (+0.05%) ⬆️
src/dev/subcommands/state_cmd.rs 0.00% <ø> (ø)
src/interpreter/vm.rs 81.73% <100.00%> (+0.22%) ⬆️
src/rpc/methods/gas.rs 86.66% <100.00%> (-0.11%) ⬇️
src/state_manager/cache.rs 98.78% <100.00%> (+0.02%) ⬆️
src/state_manager/utils.rs 79.80% <ø> (+0.48%) ⬆️
src/utils/cache/lru.rs 60.33% <100.00%> (+2.06%) ⬆️
src/chain/store/chain_store.rs 66.30% <0.00%> (+0.43%) ⬆️
src/daemon/db_util.rs 54.43% <0.00%> (+0.32%) ⬆️
... and 8 more

... and 12 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7868455...f2b17de. Read the comment docs.