From cdeab939eda037770b89b580658a87817aac1158 Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 12 May 2024 12:57:17 +0200 Subject: [PATCH] fix: use `electra-support` image for assertoor when electra fork epoch is set (#607) * use `electra-support` image for assertoor when electra fork epoch is set * use `peerdas-support` image for assertoor when peer das fork epoch is set * use `latest` image for minimal preset (now naively supported) --------- Co-authored-by: Barnabas Busa --- src/assertoor/assertoor_launcher.star | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/assertoor/assertoor_launcher.star b/src/assertoor/assertoor_launcher.star index fa729bcb9..944487fd1 100644 --- a/src/assertoor/assertoor_launcher.star +++ b/src/assertoor/assertoor_launcher.star @@ -121,8 +121,10 @@ def get_config( if assertoor_params.image != "": IMAGE_NAME = assertoor_params.image - elif network_params.preset == "minimal": - IMAGE_NAME = "ethpandaops/assertoor:minimal-preset" + elif network_params.electra_fork_epoch < 100000000: + IMAGE_NAME = "ethpandaops/assertoor:electra-support" + elif network_params.eip7594_fork_epoch < 100000000: + IMAGE_NAME = "ethpandaops/assertoor:peerdas-support" else: IMAGE_NAME = "ethpandaops/assertoor:latest"