Skip to content

Commit 61fc64c

Browse files
isuniverseok-uaArnesh Dadhichmacfarla
authored andcommitted
chore: downgrade TransitionUtils TTD log to INFO and clarify log message (besu-eth#9280)
Signed-off-by: Arnesh <arneshdadhich0011@gmail.com> Co-authored-by: Arnesh Dadhich <arneshdadhich@Arneshs-MacBook-Pro.local> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
1 parent 38d47e1 commit 61fc64c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/TransitionUtils.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ public static boolean isTerminalProofOfWorkBlock(
140140
}
141141

142142
if (currentChainTotalDifficulty.isZero()) {
143-
LOG.atWarn()
144-
.setMessage("unable to get total difficulty for {}, parent hash {} difficulty not found")
143+
LOG.atInfo()
144+
.setMessage(
145+
"Total difficulty unavailable for {} (parent: {}). Expected during transition from Clique/PoW to PoS or at merge-at-genesis.")
145146
.addArgument(header::toLogString)
146147
.addArgument(header::getParentHash)
147148
.log();

0 commit comments

Comments
 (0)