Skip to content

Commit d89c18a

Browse files
committed
fix: avoid signer panic when starting on Cardano chain era reader
1 parent 792b295 commit d89c18a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ use slog_scope::info;
1212
use std::borrow::BorrowMut;
1313
use std::path::PathBuf;
1414
use std::sync::Arc;
15+
use std::time::Duration;
16+
use tokio::time::sleep;
1517

1618
use super::signer::SignerConfig;
1719

@@ -70,6 +72,7 @@ impl MithrilInfrastructure {
7072
if config.mithril_era_reader_adapter == "cardano-chain" {
7173
assertions::register_era_marker(&mut aggregator, &config.devnet, &config.mithril_era)
7274
.await?;
75+
sleep(Duration::from_secs(5)).await;
7376
}
7477
aggregator.serve()?;
7578

0 commit comments

Comments
 (0)