File tree Expand file tree Collapse file tree
spartan/terraform/deploy-ethereum-nodes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,13 +86,41 @@ locals {
8686 }
8787 extraArgs = [
8888 " --chain=${ var . chain } " ,
89+ # "--storage.v2=true",
8990 ]
9091
9192 persistence = {
9293 enabled = true
9394 size = var.reth_storage
9495 storageClassName = " premium-rwo"
9596 }
97+
98+ # disabled because sepolia db has already been migrated, mainnet has not been migrated yet
99+ # initContainers = [
100+ # {
101+ # name = "migrate-storage-v2"
102+ # image = var.reth_image
103+ # imagePullPolicy = "Always"
104+ # command = [
105+ # "sh",
106+ # "-ac",
107+ # <<-EOT
108+ # if [ ! -f /data/db/database.version ]; then
109+ # echo "No existing Reth database found, skipping storage v2 migration."
110+ # exit 0
111+ # fi
112+
113+ # reth db --datadir=/data --chain=${var.chain} migrate-v2
114+ # EOT
115+ # ]
116+ # volumeMounts = [
117+ # {
118+ # name = "storage"
119+ # mountPath = "/data"
120+ # }
121+ # ]
122+ # }
123+ # ]
96124 })
97125 ]
98126 }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ variable "lighthouse_p2p_port" {
4848variable "reth_image" {
4949 description = " Reth Docker image"
5050 type = string
51- default = " ghcr.io/paradigmxyz/reth:v2.0 .0"
51+ default = " ghcr.io/paradigmxyz/reth:v2.2 .0"
5252}
5353
5454variable "reth_chart_version" {
@@ -90,13 +90,13 @@ variable "reth_memory_limit" {
9090variable "lighthouse_image" {
9191 description = " Lighthouse Docker image"
9292 type = string
93- default = " sigp/lighthouse:v8.0.1 "
93+ default = " sigp/lighthouse:v8.1.3 "
9494}
9595
9696variable "lighthouse_chart_version" {
9797 description = " Lighthouse Helm chart version"
9898 type = string
99- default = " 1.1.7 "
99+ default = " 1.1.8 "
100100}
101101
102102variable "lighthouse_storage" {
You can’t perform that action at this time.
0 commit comments