Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
  • Loading branch information
garyschulte and macfarla committed Mar 30, 2024
1 parent aca1ea0 commit 3251ae7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class SnapServer implements BesuEvents.InitialSyncCompletionListener {
private final WorldStateStorageCoordinator worldStateStorageCoordinator;
private final Optional<ProtocolContext> protocolContext;

//
// whether snap server is enabled
private final boolean snapServerEnabled;

// provide worldstate storage by root hash
Expand Down Expand Up @@ -215,7 +215,7 @@ MessageData constructGetAccountRangeResponse(final MessageData message) {

LOGGER
.atTrace()
.setMessage("Receive getAccountRangeMessage for {} from {} to {}")
.setMessage("Received getAccountRangeMessage for {} from {} to {}")
.addArgument(() -> asLogHash(range.worldStateRootHash()))
.addArgument(() -> asLogHash(range.startKeyHash()))
.addArgument(() -> asLogHash(range.endKeyHash()))
Expand Down Expand Up @@ -436,7 +436,7 @@ MessageData constructGetBytecodesResponse(final MessageData message) {
final int maxResponseBytes = Math.min(codeHashes.responseBytes().intValue(), MAX_RESPONSE_SIZE);
LOGGER
.atTrace()
.setMessage("Receive get bytecodes message for {} hashes")
.setMessage("Received get bytecodes message for {} hashes")
.addArgument(codeHashes.hashes()::size)
.log();

Expand Down Expand Up @@ -477,7 +477,7 @@ MessageData constructGetTrieNodesResponse(final MessageData message) {
final int maxResponseBytes = Math.min(triePaths.responseBytes().intValue(), MAX_RESPONSE_SIZE);
LOGGER
.atTrace()
.setMessage("Receive get trie nodes message of size {}")
.setMessage("Received get trie nodes message of size {}")
.addArgument(() -> triePaths.paths().size())
.log();

Expand Down

0 comments on commit 3251ae7

Please sign in to comment.