Skip to content

Commit

Permalink
Add custom citrea docker image support (#58)
Browse files Browse the repository at this point in the history
* Add custom docker image support

* Clone docker image
  • Loading branch information
jfldde authored Dec 2, 2024
1 parent 423db61 commit 543a0b8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,33 +434,34 @@ fn generate_test_config<T: TestCase>(
}
};

let citrea_docker_image = std::env::var("CITREA_DOCKER_IMAGE").ok();
Ok(TestConfig {
bitcoin: bitcoin_confs,
sequencer: FullSequencerConfig::new(
sequencer,
sequencer_rollup,
None,
citrea_docker_image.clone(),
sequencer_dir,
env.sequencer(),
)?,
batch_prover: FullBatchProverConfig::new(
batch_prover,
batch_prover_rollup,
None,
citrea_docker_image.clone(),
batch_prover_dir,
env.batch_prover(),
)?,
light_client_prover: FullLightClientProverConfig::new(
light_client_prover,
light_client_prover_rollup,
None,
citrea_docker_image.clone(),
light_client_prover_dir,
env.light_client_prover(),
)?,
full_node: FullFullNodeConfig::new(
(),
full_node_rollup,
None,
citrea_docker_image,
full_node_dir,
env.full_node(),
)?,
Expand Down

0 comments on commit 543a0b8

Please sign in to comment.