Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Nov 27, 2024
1 parent 24062de commit 3520b73
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,13 @@ impl Devnet {
}
}

pub async fn write_era_marker(&self, target_path: &Path) -> StdResult<()> {
let run_script = "era-mithril.sh";
pub async fn write_era_marker(&self, _target_path: &Path) -> StdResult<()> {
//Err(anyhow!("Unretryable error triggered for testing purpose!"))
Err(anyhow!(UnrecoverableDevnetError(
"Retryable error triggered for testing purpose!".to_string()
)))

/* let run_script = "era-mithril.sh";
let run_script_path = self.artifacts_dir.join(run_script);
let mut run_command = Command::new(&run_script_path);
run_command
Expand All @@ -293,7 +298,7 @@ impl Devnet {
"Write era marker on chain exited with status code: {code}"
)))),
None => Err(anyhow!("Write era marker on chain terminated by signal")),
}
} */
}

pub async fn transfer_funds(&self) -> StdResult<()> {
Expand Down

0 comments on commit 3520b73

Please sign in to comment.