diff --git a/playground/components.go b/playground/components.go index 7a2a5ae..7d7c0a6 100644 --- a/playground/components.go +++ b/playground/components.go @@ -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", @@ -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 {