Skip to content

Feature: Add block pruning module for historical blockchain data cleanup - #3641

Open
jason-aelf wants to merge 12 commits into
devfrom
feature/block-pruning
Open

jason-aelf wants to merge 12 commits into
devfrom
feature/block-pruning

Merge branch 'hotfix/synthetic-transaction-execution' into feature/bl…

18be2ba
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 19, 2026 in 0s

90.65% (+0.02%) compared to 9f729e2

View this Pull Request on Codecov

90.65% (+0.02%) compared to 9f729e2

Details

Codecov Report

❌ Patch coverage is 97.08738% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.65%. Comparing base (9f729e2) to head (18be2ba).

Files with missing lines Patch % Lines
...ckPruning/NewIrreversibleBlockFoundEventHandler.cs 91.66% 2 Missing ⚠️
...lication/ISyntheticTransactionExecutionProvider.cs 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #3641      +/-   ##
==========================================
+ Coverage   90.62%   90.65%   +0.02%     
==========================================
  Files         680      686       +6     
  Lines       26298    26397      +99     
  Branches     2369     2374       +5     
==========================================
+ Hits        23833    23929      +96     
- Misses       2350     2352       +2     
- Partials      115      116       +1     
Files with missing lines Coverage Δ
...AElf.Contracts.MultiToken/TokenContract_Actions.cs 93.23% <100.00%> (+0.02%) ⬆️
contract/AElf.Contracts.Profit/ProfitContract.cs 93.80% <100.00%> (ø)
contract/AElf.Contracts.Vote/VoteContract.cs 97.47% <100.00%> (+0.09%) ⬆️
...el.BlockPruning/Application/BlockPruningService.cs 100.00% <100.00%> (ø)
...AElf.Kernel.BlockPruning/BlockPruningAElfModule.cs 100.00% <100.00%> (ø)
...rc/AElf.Kernel.BlockPruning/BlockPruningOptions.cs 100.00% <100.00%> (ø)
...nel.BlockPruning/Domain/BlockPruningInfoManager.cs 100.00% <100.00%> (ø)
...Elf.Kernel.Core/Blockchain/Domain/IBlockManager.cs 100.00% <ø> (ø)
...Elf.Kernel.Core/Blockchain/Domain/IChainManager.cs 100.00% <ø> (ø)
...ore/Blockchain/Domain/ITransactionResultManager.cs 100.00% <ø> (ø)
... and 8 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.