Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion playground/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ func (r *RethEL) Apply(manifest *Manifest) {
"--chain", "/data/genesis.json",
"--datadir", "/data_reth",
"--color", "never",
"--ipcdisable",
"--addr", "0.0.0.0",
"--port", `{{Port "rpc" 30303}}`,
// "--disable-discovery",
Expand Down Expand Up @@ -462,6 +461,15 @@ func (r *RethEL) Apply(manifest *Manifest) {
WithArtifact("/data/jwtsecret", "jwtsecret").
WithVolume("data", "/data_reth")

if r.UseNativeReth {
// When Reth runs in the host machine, if we enable ipc, the IPC path /data_reth/reth.ipc
// points to the artifact folder with an absolute path that is too long for an IPC path.
// https://discussions.apple.com/thread/250275651
svc.WithArgs("--ipcdisable")
} else {
svc.WithArgs("--ipcpath", "/data_reth/reth.ipc")
}

UseHealthmon(manifest, svc)

if r.UseNativeReth {
Expand Down