Skip to content

Commit

Permalink
fix: update replay mode to refrain from starting server during tx rep…
Browse files Browse the repository at this point in the history
…laying
  • Loading branch information
dutterbutter committed Feb 13, 2025
1 parent dd18990 commit df1c282
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ async fn main() -> anyhow::Result<()> {
if !transactions_to_replay.is_empty() {
node.apply_txs(transactions_to_replay, config.max_transactions)
.await?;

// If we are in replay mode, we don't start the server
return Ok(());
}

// TODO: Consider moving to `InMemoryNodeInner::init`
Expand Down

0 comments on commit df1c282

Please sign in to comment.