Skip to content

Commit

Permalink
op-node: Disable xor requirement on Network and rollup.config flags (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trianglesphere committed Dec 21, 2023
1 parent 21d2413 commit f2229b8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions op-service/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ func CLIRollupConfigFlag(envPrefix string) cli.Flag {
// This checks flags that are exclusive & required. Specifically for each
// set of flags, exactly one flag must be set.
var requiredXorFlags = [][]string{
{
RollupConfigFlagName,
NetworkFlagName,
},
// TODO(client-pod#391): Re-enable this check at a later point
// {
// RollupConfigFlagName,
// NetworkFlagName,
// },
}

func CheckRequiredXor(ctx *cli.Context) error {
Expand Down

0 comments on commit f2229b8

Please sign in to comment.