Exemple #1
0
 public BloomMigration(IApiWithNetwork api)
 {
     _api         = api;
     _logger      = api.LogManager.GetClassLogger <BloomMigration>();
     _bloomConfig = api.Config <IBloomConfig>();
 }
 public void SetUp()
 {
     _config           = new BloomConfig();
     _bloomDb          = new MemDb();
     _fileStoreFactory = new InMemoryDictionaryFileStoreFactory();
 }
Exemple #3
0
 public DatabaseMigrations(EthereumRunnerContext context)
 {
     _context     = context;
     _logger      = context.LogManager.GetClassLogger();
     _bloomConfig = context.Config <IBloomConfig>();
 }