From 850f80e02d998572c9edac2e415f2c278631f9bf Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Wed, 21 May 2025 20:10:10 +0200 Subject: [PATCH] fix: besu sync snap if non kurtosis --- src/el/besu/besu_launcher.star | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/el/besu/besu_launcher.star b/src/el/besu/besu_launcher.star index 319030c7a..062ffb028 100644 --- a/src/el/besu/besu_launcher.star +++ b/src/el/besu/besu_launcher.star @@ -168,7 +168,11 @@ def get_config( "--engine-jwt-secret=" + constants.JWT_MOUNT_PATH_ON_CONTAINER, "--engine-host-allowlist=*", "--engine-rpc-port={0}".format(ENGINE_HTTP_RPC_PORT_NUM), - "--sync-mode=FULL", + "{0}".format( + "--sync-mode=FULL" + if network_params.network in constants.NETWORK_NAME.kurtosis + else "--sync-mode=SNAP" + ), "--data-storage-format={0}".format( "VERKLE" if "verkle-gen" in network_params.network else "BONSAI" ),