From 704a83061177b359e0d67ab677275fa1ecf1aca0 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Wed, 27 May 2026 14:07:20 +0000 Subject: [PATCH] chore: bump reth and lighthosue --- .../terraform/deploy-ethereum-nodes/main.tf | 28 +++++++++++++++++++ .../deploy-ethereum-nodes/variables.tf | 6 ++-- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/spartan/terraform/deploy-ethereum-nodes/main.tf b/spartan/terraform/deploy-ethereum-nodes/main.tf index 1df88be712d2..2da78bf96ef3 100644 --- a/spartan/terraform/deploy-ethereum-nodes/main.tf +++ b/spartan/terraform/deploy-ethereum-nodes/main.tf @@ -86,6 +86,7 @@ locals { } extraArgs = [ "--chain=${var.chain}", + # "--storage.v2=true", ] persistence = { @@ -93,6 +94,33 @@ locals { size = var.reth_storage storageClassName = "premium-rwo" } + + # disabled because sepolia db has already been migrated, mainnet has not been migrated yet + #initContainers = [ + # { + # name = "migrate-storage-v2" + # image = var.reth_image + # imagePullPolicy = "Always" + # command = [ + # "sh", + # "-ac", + # <<-EOT + # if [ ! -f /data/db/database.version ]; then + # echo "No existing Reth database found, skipping storage v2 migration." + # exit 0 + # fi + + # reth db --datadir=/data --chain=${var.chain} migrate-v2 + # EOT + # ] + # volumeMounts = [ + # { + # name = "storage" + # mountPath = "/data" + # } + # ] + # } + #] }) ] } diff --git a/spartan/terraform/deploy-ethereum-nodes/variables.tf b/spartan/terraform/deploy-ethereum-nodes/variables.tf index 5afc321b0da9..7af9f3e7dec5 100644 --- a/spartan/terraform/deploy-ethereum-nodes/variables.tf +++ b/spartan/terraform/deploy-ethereum-nodes/variables.tf @@ -48,7 +48,7 @@ variable "lighthouse_p2p_port" { variable "reth_image" { description = "Reth Docker image" type = string - default = "ghcr.io/paradigmxyz/reth:v2.0.0" + default = "ghcr.io/paradigmxyz/reth:v2.2.0" } variable "reth_chart_version" { @@ -90,13 +90,13 @@ variable "reth_memory_limit" { variable "lighthouse_image" { description = "Lighthouse Docker image" type = string - default = "sigp/lighthouse:v8.0.1" + default = "sigp/lighthouse:v8.1.3" } variable "lighthouse_chart_version" { description = "Lighthouse Helm chart version" type = string - default = "1.1.7" + default = "1.1.8" } variable "lighthouse_storage" {