Skip to content

Commit

Permalink
node: fix Clang Tidy after PR 1890 (#1903)
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat authored Mar 11, 2024
1 parent 8e33613 commit 7071d87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions silkworm/node/stagedsync/stages/stage_history_index_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ namespace silkworm {
stagedsync::HistoryIndex make_stage_history_index(
stagedsync::SyncContext* sync_context,
const db::test_util::TempChainData& chain_data) {
constexpr auto batch_size{512_Mebi};
return stagedsync::HistoryIndex{
sync_context,
/* batch_size = */ 512_Mebi,
db::etl::CollectorSettings{chain_data.dir().etl().path(), 256_Mebi},
batch_size,
db::etl::CollectorSettings{
.work_path = chain_data.dir().etl().path(),
.buffer_size = 256_Mebi},
chain_data.prune_mode().history(),
};
}
Expand Down

0 comments on commit 7071d87

Please sign in to comment.