protected virtual async Task CrawlTransactionReceipt(CrawlerStepCompleted <TransactionVO> completedStep) { var currentStepCompleted = await TransactionWithReceiptCrawlerStep.ExecuteStepAsync(completedStep.StepData, completedStep.ExecutedStepsCollection); if (currentStepCompleted != null && currentStepCompleted.StepData.IsForContractCreation()) { await ContractCreatedCrawlerStep.ExecuteStepAsync(currentStepCompleted.StepData, completedStep.ExecutedStepsCollection); } await CrawlFilterLogs(currentStepCompleted); }
protected virtual async Task CrawlTransactionReceiptAsync(CrawlerStepCompleted <TransactionVO> completedStep) { if (TransactionWithReceiptCrawlerStep.Enabled) { var currentStepCompleted = await TransactionWithReceiptCrawlerStep.ExecuteStepAsync( completedStep.StepData, completedStep.ExecutedStepsCollection).ConfigureAwait(false); if (currentStepCompleted != null && currentStepCompleted.StepData.IsForContractCreation() && ContractCreatedCrawlerStep.Enabled) { await ContractCreatedCrawlerStep.ExecuteStepAsync(currentStepCompleted.StepData, completedStep.ExecutedStepsCollection).ConfigureAwait(false); } await CrawlFilterLogsAsync(currentStepCompleted).ConfigureAwait(false); } }