diff --git a/src/AElf.Kernel.SmartContract.Parallel/Application/LocalParallelTransactionExecutingService.cs b/src/AElf.Kernel.SmartContract.Parallel/Application/LocalParallelTransactionExecutingService.cs index 940f89d184..cfe40da676 100644 --- a/src/AElf.Kernel.SmartContract.Parallel/Application/LocalParallelTransactionExecutingService.cs +++ b/src/AElf.Kernel.SmartContract.Parallel/Application/LocalParallelTransactionExecutingService.cs @@ -80,6 +80,9 @@ private async Task ExecuteParallelizableTransacti List> groupedTransactions, BlockHeader blockHeader, BlockStateSet blockStateSet, CancellationToken cancellationToken) { + Logger.LogInformation("ExecuteParallelizableTransactionsAsync groupedTransactions size:{}",groupedTransactions.Count); + Logger.LogInformation("ExecuteParallelizableTransactionsAsync blockStateSet size:{}",blockStateSet.BlockExecutedData.Count); + var tasks = groupedTransactions.Select( txns => ExecuteAndPreprocessResult(new TransactionExecutingDto { @@ -87,6 +90,8 @@ private async Task ExecuteParallelizableTransacti Transactions = txns, PartialBlockStateSet = blockStateSet }, cancellationToken)); + Logger.LogInformation("ExecuteParallelizableTransactionsAsync tasks size:{}",tasks.Count()); + var timeout = 200; var timeoutTask = Task.Delay(timeout, cancellationToken); var completedTask = await Task.WhenAny(Task.WhenAll(tasks), timeoutTask);