From 40e13eda9a3b04dfb71ea44f71d2451107140f19 Mon Sep 17 00:00:00 2001 From: Joshua Gutow Date: Thu, 13 Apr 2023 11:42:01 -0700 Subject: [PATCH] op-batcher: rpc flags shouldn't be required --- op-batcher/flags/flags.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/op-batcher/flags/flags.go b/op-batcher/flags/flags.go index a328bec1efe6..006017ef8bcd 100644 --- a/op-batcher/flags/flags.go +++ b/op-batcher/flags/flags.go @@ -105,8 +105,7 @@ var optionalFlags = []cli.Flag{ } func init() { - requiredFlags = append(requiredFlags, oprpc.CLIFlags(envVarPrefix)...) - + optionalFlags = append(optionalFlags, oprpc.CLIFlags(envVarPrefix)...) optionalFlags = append(optionalFlags, oplog.CLIFlags(envVarPrefix)...) optionalFlags = append(optionalFlags, opmetrics.CLIFlags(envVarPrefix)...) optionalFlags = append(optionalFlags, oppprof.CLIFlags(envVarPrefix)...)