From 543a0b8a6f2c705e393776f2798e102a26a9d48a Mon Sep 17 00:00:00 2001 From: jfldde <168934971+jfldde@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:54:20 +0000 Subject: [PATCH] Add custom citrea docker image support (#58) * Add custom docker image support * Clone docker image --- src/framework.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/framework.rs b/src/framework.rs index 948eb77..4c81c23 100644 --- a/src/framework.rs +++ b/src/framework.rs @@ -434,33 +434,34 @@ fn generate_test_config( } }; + 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(), )?,