Exemple #1
0
 public CacheProviderTests()
 {
     _providerFactory     = GetRequiredService <IStateProviderFactory>();
     _innerProvider       = _providerFactory.CreateStateProvider() as ScopedStateProvider;
     _blockStateSetManger = GetRequiredService <IBlockStateSetManger>();
     _smartContractHelper = GetRequiredService <SmartContractHelper>();
     _hostSmartContractBridgeContextService = GetRequiredService <IHostSmartContractBridgeContextService>();
 }
 public CacheProviderTests()
 {
     _providerFactory = GetRequiredService <IStateProviderFactory>();
     _innerProvider   = _providerFactory.CreateStateProvider() as ScopedStateProvider;
 }