public void GlobalSetup() { _blockchainService = GetRequiredService <IBlockchainService>(); _blockExecutingService = GetRequiredService <IBlockExecutingService>(); _blockStateSets = GetRequiredService <INotModifiedCachedStateStore <BlockStateSet> >(); _osTestHelper = GetRequiredService <OSTestHelper>(); }
public async Task GlobalSetup() { _blockchainService = GetRequiredService <IBlockchainService>(); _blockExecutingService = GetRequiredService <IBlockExecutingService>(); _transactionResultManager = GetRequiredService <ITransactionResultManager>(); _blockStateSets = GetRequiredService <INotModifiedCachedStateStore <BlockStateSet> >(); _osTestHelper = GetRequiredService <OSTestHelper>(); }
public BlockStateSetManger(IStateStore <VersionedState> versionedStates, INotModifiedCachedStateStore <BlockStateSet> blockStateSets, IStateStore <ChainStateInfo> chainStateInfoCollection, IOptionsSnapshot <ChainOptions> options) { _versionedStates = versionedStates; _blockStateSets = blockStateSets; _chainStateInfoCollection = chainStateInfoCollection; _chainId = options.Value.ChainId; }
public async Task GlobalSetup() { _blockchainService = GetRequiredService <IBlockchainService>(); _osTestHelper = GetRequiredService <OSTestHelper>(); _minerService = GetRequiredService <IMinerService>(); _blockStateSets = GetRequiredService <INotModifiedCachedStateStore <BlockStateSet> >(); _transactionManager = GetRequiredService <ITransactionManager>(); _transactionPoolService = GetRequiredService <ITransactionPoolService>(); _transactions = new List <Transaction>(); _chain = await _blockchainService.GetChainAsync(); }
public void GlobalSetup() { _blockchainService = GetRequiredService <IBlockchainService>(); _blockExecutingService = GetRequiredService <IBlockExecutingService>(); _minerService = GetRequiredService <IMinerService>(); _blockStateSets = GetRequiredService <INotModifiedCachedStateStore <BlockStateSet> >(); _osTestHelper = GetRequiredService <OSTestHelper>(); _prepareTransactions = new List <Transaction>(); _systemTransactions = new List <Transaction>(); _cancellableTransactions = new List <Transaction>(); _keyPairs = new List <ECKeyPair>(); }
public async Task GlobalSetup() { _chains = GetRequiredService <IBlockchainStore <Chain> >(); _blockStateSets = GetRequiredService <INotModifiedCachedStateStore <BlockStateSet> >(); _chainManager = GetRequiredService <IChainManager>(); _blockManager = GetRequiredService <IBlockManager>(); _blockchainService = GetRequiredService <IBlockchainService>(); _blockAttachService = GetRequiredService <IBlockAttachService>(); _transactionManager = GetRequiredService <ITransactionManager>(); _osTestHelper = GetRequiredService <OSTestHelper>(); _chain = await _blockchainService.GetChainAsync(); }
public BlockchainExecutedDataManager(IStateStore <VersionedState> versionedStates, INotModifiedCachedStateStore <BlockStateSet> blockStateSets, IBlockStateSetManger blockStateSetManger) : base(versionedStates, blockStateSets) { _blockStateSetManger = blockStateSetManger; }
public BlockchainStateManager(IStateStore <VersionedState> versionedStates, INotModifiedCachedStateStore <BlockStateSet> blockStateSets) : base(versionedStates, blockStateSets) { }
public BlockchainStateBaseManager(IStateStore <VersionedState> versionedStates, INotModifiedCachedStateStore <BlockStateSet> blockStateSets) { _versionedStates = versionedStates; _blockStateSets = blockStateSets; }