Skip to content

Commit

Permalink
fix: use electra-support image for assertoor when electra fork epoc…
Browse files Browse the repository at this point in the history
…h 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 <busa.barnabas@gmail.com>
  • Loading branch information
pk910 and barnabasbusa authored May 12, 2024
1 parent 3f1f5e1 commit cdeab93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/assertoor/assertoor_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit cdeab93

Please sign in to comment.