diff --git a/protocol-testing/src/tycho_runner.rs b/protocol-testing/src/tycho_runner.rs index 1baeb3a..b3d59d8 100644 --- a/protocol-testing/src/tycho_runner.rs +++ b/protocol-testing/src/tycho_runner.rs @@ -54,6 +54,8 @@ impl TychoRunner { &start_block.to_string(), "--stop-block", &(end_block + 2).to_string(), // +2 is to make up for the cache in the index side + "--dci-plugin", + "rpc", ]); if !all_accounts.is_empty() { @@ -81,8 +83,11 @@ impl TychoRunner { .wait() .into_diagnostic() .wrap_err("Failed to wait on Tycho indexer process")?; + + // Note: tycho-indexer may exit with non-zero status when stream ends normally + // This is expected behavior and should not be treated as an error if !status.success() { - return Err(miette!("Process exited with non-zero status: {status}")); + debug!("Tycho indexer process exited with status: {status}"); } Ok(())