Esempio n. 1
0
 public CrossChainIndexingTransactionGeneratorTest()
 {
     _crossChainIndexingTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>();
     _smartContractAddressService            = GetRequiredService <ISmartContractAddressService>();
     _crossChainTestHelper = GetRequiredService <CrossChainTestHelper>();
     _blockStateSetManger  = GetRequiredService <IBlockStateSetManger>();
 }
Esempio n. 2
0
 public CrossChainIndexingTransactionGeneratorTest()
 {
     _crossChainIndexingTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>();
     _crossChainIndexingDataService          = GetRequiredService <ICrossChainIndexingDataService>();
     _smartContractAddressService            = GetRequiredService <ISmartContractAddressService>();
     _kernelTestHelper     = GetRequiredService <KernelTestHelper>();
     _crossChainTestHelper = GetRequiredService <CrossChainTestHelper>();
 }
Esempio n. 3
0
 public SystemTransactionGenerationServiceTests()
 {
     _systemTransactionGenerator         = GetRequiredService <ISystemTransactionGenerator>();
     _systemTransactionGenerationService = new SystemTransactionGenerationService(new[] { _systemTransactionGenerator });
 }
Esempio n. 4
0
 public ConsensusTransactionGeneratorTests()
 {
     _systemTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>();
 }
Esempio n. 5
0
 public ProposalApprovalTransactionGeneratorTests()
 {
     _proposalApprovalTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>();
     _transactionPackingOptionProvider     = GetRequiredService <ITransactionPackingOptionProvider>();
     _proposalTestHelper = GetRequiredService <ProposalTestHelper>();
 }