Skip to content

Commit b079dba

Browse files
feat(ethereum): add hoodi testnet support (#1389)
feat(ethereum): update to erigon 3 feat(ethereum): default to erigon caplin for consensus
1 parent 77bf94d commit b079dba

File tree

9 files changed

+69
-27
lines changed

9 files changed

+69
-27
lines changed

ethereum/helmfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}}},"flavor":"mainnet","mainnet":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-mainnet"},"holesky":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-holesky"},"sepolia":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-sepolia"}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}}},"flavor":"mainnet","mainnet":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-mainnet"},"holesky":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-holesky"},"sepolia":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-sepolia"},"hoodi":{"features":["proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{},"lighthouse":{}},"targetNamespace":"eth-hoodi"}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "mainnet" }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lighthouse:
2+
extraArgs:
3+
- --network=holesky

ethereum/values/hoodi/erigon.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
statefulNode:
2+
extraArgs:
3+
- --http.api=eth,debug,net,trace
4+
- --chain=hoodi
5+
- --ws
6+
7+
volumeClaimSpec:
8+
resources:
9+
requests:
10+
storage: 1Ti

ethereum/values/hoodi/lighthouse.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lighthouse:
2+
extraArgs:
3+
- --network=hoodi

ethereum/values/hoodi/nimbus.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nimbus:
2+
extraArgs:
3+
- --network=hoodi
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lighthouse:
2+
extraArgs:
3+
- --network=sepolia

polygon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ erigon.labels | object | | Adds helmfile labels to this release |
119119
erigon.mergeValues | boolean | true | Merges passed values with namespace's defaults if true, overrides if false |
120120
erigon.resourceLabels | object | | Adds labels to resources on this release |
121121
erigon.values | (object *or* list of objects) | | Pass values to the release helm chart |
122-
features | list of strings | [proxyd, erigon, heimdall, heimdall-ha-svc] | *enum of:  (proxyd \| erigon \| heimdall \| heimdall-ha-svc)* |
122+
features | list of strings | [proxyd, erigon] | *enum of:  (proxyd \| erigon \| heimdall)* |
123123
flavor | string | | |
124124
heimdall | object | | |
125125
heimdall.annotations | object | | Add annotations to resources on this release |

schema.json

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,8 @@
20512051
"flavor",
20522052
"mainnet",
20532053
"holesky",
2054-
"sepolia"
2054+
"sepolia",
2055+
"hoodi"
20552056
],
20562057
"properties": {
20572058
"flavor": {
@@ -2122,6 +2123,27 @@
21222123
]
21232124
}
21242125
]
2126+
},
2127+
"hoodi": {
2128+
"type": "object",
2129+
"properties": {
2130+
"targetNamespace": {
2131+
"type": "string",
2132+
"enum": [
2133+
"eth-hoodi"
2134+
]
2135+
}
2136+
},
2137+
"allOf": [
2138+
{
2139+
"$ref": "#/components/schemas/namespaces.ethereum.defaults.common"
2140+
},
2141+
{
2142+
"required": [
2143+
"targetNamespace"
2144+
]
2145+
}
2146+
]
21252147
}
21262148
}
21272149
},
@@ -2586,7 +2608,8 @@
25862608
"enum": [
25872609
"mainnet",
25882610
"holesky",
2589-
"sepolia"
2611+
"sepolia",
2612+
"hoodi"
25902613
]
25912614
},
25922615
"namespaces.ethereum.flavor.holesky": {
@@ -2596,6 +2619,13 @@
25962619
"holesky"
25972620
]
25982621
},
2622+
"namespaces.ethereum.flavor.hoodi": {
2623+
"description": "suitable defaults for a hoodi ethereum testnet node",
2624+
"type": "string",
2625+
"enum": [
2626+
"hoodi"
2627+
]
2628+
},
25992629
"namespaces.ethereum.flavor.mainnet": {
26002630
"description": "suitable defaults for a mainnet archive node",
26012631
"type": "string",
@@ -5039,7 +5069,7 @@
50395069
}
50405070
},
50415071
"feature": {
5042-
"$ref": "#/components/schemas/namespaces.polygon.features.heimdall_ha_svc"
5072+
"$ref": "#/components/schemas/namespaces.polygon.features.heimdall"
50435073
}
50445074
}
50455075
},
@@ -5183,19 +5213,11 @@
51835213
},
51845214
{
51855215
"$ref": "#/components/schemas/namespaces.polygon.features.erigon"
5186-
},
5187-
{
5188-
"$ref": "#/components/schemas/namespaces.polygon.features.heimdall"
5189-
},
5190-
{
5191-
"$ref": "#/components/schemas/namespaces.polygon.features.heimdall_ha_svc"
51925216
}
51935217
],
51945218
"default": [
51955219
"proxyd",
5196-
"erigon",
5197-
"heimdall",
5198-
"heimdall-ha-svc"
5220+
"erigon"
51995221
]
52005222
},
52015223
"scaling": {
@@ -5230,8 +5252,7 @@
52305252
"enum": [
52315253
"proxyd",
52325254
"erigon",
5233-
"heimdall",
5234-
"heimdall-ha-svc"
5255+
"heimdall"
52355256
]
52365257
},
52375258
"namespaces.polygon.features.erigon": {
@@ -5248,13 +5269,6 @@
52485269
"heimdall"
52495270
]
52505271
},
5251-
"namespaces.polygon.features.heimdall_ha_svc": {
5252-
"description": "Provide an heimdall front SVC for HA",
5253-
"type": "string",
5254-
"enum": [
5255-
"heimdall-ha-svc"
5256-
]
5257-
},
52585272
"namespaces.polygon.features.proxyd": {
52595273
"description": "Deploy proxyd",
52605274
"type": "string",
@@ -5377,9 +5391,7 @@
53775391
},
53785392
"default": [
53795393
"proxyd",
5380-
"erigon",
5381-
"heimdall",
5382-
"heimdall-ha-svc"
5394+
"erigon"
53835395
]
53845396
},
53855397
"scaling": {

src/schemas/ethereum.cue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ package LaunchpadNamespaces
2323
// suitable defaults for a sepolia ethereum testnet node
2424
#sepolia: "sepolia"
2525

26-
#enum: ( #mainnet | #holesky | #sepolia )
26+
// suitable defaults for a hoodi ethereum testnet node
27+
#hoodi: "hoodi"
28+
29+
#enum: ( #mainnet | #holesky | #sepolia | #hoodi )
2730
}
2831

2932
// ethereum namespace features schema
@@ -109,6 +112,11 @@ package LaunchpadNamespaces
109112
#common
110113
targetNamespace: "eth-sepolia"
111114
}
115+
116+
hoodi: {
117+
#common
118+
targetNamespace: "eth-hoodi"
119+
}
112120
}
113121

114122
releases: {

0 commit comments

Comments
 (0)