public BlockExecutionResultProcessingServiceTests() { _blockExecutionResultProcessingService = GetRequiredService <IBlockExecutionResultProcessingService>(); _blockchainService = GetRequiredService <IBlockchainService>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); _chainManager = GetRequiredService <IChainManager>(); _chainBlockLinkService = GetRequiredService <IChainBlockLinkService>(); }
public ChainCreationService(IBlockchainService blockchainService, IBlockExecutingService blockExecutingService, IBlockExecutionResultProcessingService blockExecutionResultProcessingService , IBlockchainExecutingService blockchainExecutingService) { _blockchainService = blockchainService; _blockExecutingService = blockExecutingService; _blockExecutionResultProcessingService = blockExecutionResultProcessingService; _blockchainExecutingService = blockchainExecutingService; Logger = NullLogger <ChainCreationService> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public SmartContractExecutionHelper(IBlockExecutingService blockExecutingService, IBlockchainService blockchainService, IBlockchainExecutingService blockchainExecutingService, IBlockExecutionResultProcessingService blockExecutionResultProcessingService, IDefaultContractZeroCodeProvider defaultContractZeroCodeProvider) { _blockExecutingService = blockExecutingService; _blockchainService = blockchainService; _blockchainExecutingService = blockchainExecutingService; _blockExecutionResultProcessingService = blockExecutionResultProcessingService; _defaultContractZeroCodeProvider = defaultContractZeroCodeProvider; ContractCodes = ContractsDeployer.GetContractCodes <SmartContractExecutionTestAElfModule>(); }
public BlockAttachService(IBlockchainService blockchainService, IBlockchainExecutingService blockchainExecutingService, IChainBlockLinkService chainBlockLinkService, IBlockExecutionResultProcessingService blockExecutionResultProcessingService) { _blockchainService = blockchainService; _blockchainExecutingService = blockchainExecutingService; _chainBlockLinkService = chainBlockLinkService; _blockExecutionResultProcessingService = blockExecutionResultProcessingService; Logger = NullLogger <BlockAttachService> .Instance; }