From d7a74bcde5d782cb8b871cc02ad5ccf155d25454 Mon Sep 17 00:00:00 2001 From: area363 Date: Tue, 7 Nov 2023 10:42:42 +0900 Subject: [PATCH] test --- .../Commands/ItemEnhancementMigration.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs index f92eb834..7414a135 100644 --- a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs +++ b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs @@ -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 actionEvaluations = _baseChain.EvaluateBlock(block).ToList(); foreach (var ae in actionEvaluations)