Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Nov 7, 2023
1 parent c7aebb2 commit d7a74bc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,7 @@ public void Migration(
_blockHash = block.Hash;
_blockIndex = block.Index;
_blockTimeOffset = block.Timestamp;
_baseStore.PutBlock(block);
var blockCommit = _baseStore.GetBlockCommit(block.Hash) ?? _baseChain.GetBlockCommit(block.Hash);
Console.WriteLine($"Evaluating Block: #{block.Index} Hash: {block.Hash} BlockCommit: {blockCommit} Transaction Count: {block.Transactions.Count} {item.i}/{remainingCount}");
_baseChain.Append(block, blockCommit);
Console.WriteLine($"Evaluating Block: #{block.Index} Hash: {block.Hash} Transaction Count: {block.Transactions.Count} {item.i}/{remainingCount}");

List<IActionEvaluation> actionEvaluations = _baseChain.EvaluateBlock(block).ToList();
foreach (var ae in actionEvaluations)
Expand Down

0 comments on commit d7a74bc

Please sign in to comment.