public async Task With_failing_steps() { EthereumRunnerContext runnerContext = new AuRaEthereumRunnerContext( new ConfigProvider(), LimboLogs.Instance); IEthereumStepsLoader stepsLoader = new EthereumStepsLoader(GetType().Assembly); EthereumStepsManager stepsManager = new EthereumStepsManager( stepsLoader, runnerContext, LimboLogs.Instance); CancellationTokenSource source = new CancellationTokenSource(TimeSpan.FromSeconds(1)); try { await stepsManager.InitializeAll(source.Token); } catch (Exception e) { if (!(e is OperationCanceledException)) { throw new AssertionFailedException($"Exception should be {nameof(OperationCanceledException)}"); } } }
public StartBlockProducerAuRa(AuRaEthereumRunnerContext context) : base(context) { _context = context; }
public LoadGenesisBlockAuRa(AuRaEthereumRunnerContext context) : base(context) { _context = context; }
public InitRlpAuRa(AuRaEthereumRunnerContext context) : base(context) { }
public StartBlockProcessorAuRa(AuRaEthereumRunnerContext context) : base(context) { }
public StepCAuRa(AuRaEthereumRunnerContext runnerContext) { }
public InitializeBlockchainAuRa(AuRaEthereumRunnerContext context) : base(context) { _context = context; }
public InitializeFinalizationAuRa(AuRaEthereumRunnerContext context) { _context = context; }