Skip to content

Commit

Permalink
temporarily change logging of the checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Scooletz committed Jan 30, 2025
1 parent 217505e commit 54865e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@ private void PreCommitBlock(Hash256 newBranchStateRoot, long blockNumber)
// TODO: move to branch processor
private void RestoreBranch(Hash256 branchingPointStateRoot)
{
if (_logger.IsTrace) _logger.Trace($"Restoring the branch checkpoint - {branchingPointStateRoot}");
if (_logger.IsInfo) _logger.Info($"Restoring the branch checkpoint - {branchingPointStateRoot}");
_stateProvider.Reset();
_stateProvider.StateRoot = branchingPointStateRoot;
if (_logger.IsTrace) _logger.Trace($"Restored the branch checkpoint - {branchingPointStateRoot} | {_stateProvider.StateRoot}");
if (_logger.IsInfo) _logger.Info($"Restored the branch checkpoint - {branchingPointStateRoot} | {_stateProvider.StateRoot}");
}

// TODO: block processor pipeline
Expand Down

0 comments on commit 54865e4

Please sign in to comment.