diff --git a/e2e/monitor/main.go b/e2e/monitor/main.go index 6e4ee4ed..f3a44786 100644 --- a/e2e/monitor/main.go +++ b/e2e/monitor/main.go @@ -295,10 +295,17 @@ func monitorRolledUpTxs(ctx context.Context, s *state, mtx *sync.Mutex) { ` runJs := func(jsi string, layer string, ipcPath string) string { + + prefix := "op-" + if layer == "l1" { + prefix = "" + } + + container := fmt.Sprintf("e2e-%sgeth-%s-1", prefix, layer) cmd := exec.Command( "docker", "exec", - fmt.Sprintf("e2e-op-geth-%s-1", layer), + container, "geth", "attach", "--exec",