Skip to content

Commit

Permalink
logging fix for historical queries (#6830)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Nelson <[email protected]>
  • Loading branch information
non-fungible-nelson authored Mar 28, 2024
1 parent 3a2eb4e commit 464cd26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Optional<MutableWorldState> getMutable(
if (chainHeadBlockHeader.getNumber() - blockHeader.getNumber()
>= trieLogManager.getMaxLayersToLoad()) {
LOG.warn(
"Exceeded the limit of back layers that can be loaded ({})",
"Exceeded the limit of historical blocks that can be loaded ({}). If you need to make older historical queries, configure your `--bonsai-historical-block-limit`.",
trieLogManager.getMaxLayersToLoad());
return Optional.empty();
}
Expand Down

0 comments on commit 464cd26

Please sign in to comment.