Skip to content

Commit

Permalink
changes(op-txproxy) nits
Browse files Browse the repository at this point in the history
  • Loading branch information
hamdiallam committed Oct 8, 2024
1 parent ac9ae52 commit ce2386d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion op-txproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.21.3-alpine3.18 as builder

COPY ./op-txproxy /app

WORKDIR /app

RUN apk --no-cache add make jq bash git alpine-sdk
RUN make build

Expand All @@ -16,3 +16,4 @@ WORKDIR /app
COPY --from=builder /app/bin/op-txproxy /app

ENTRYPOINT ["/app/op-txproxy"]
CMD ["/app/op-txproxy"]
7 changes: 4 additions & 3 deletions op-txproxy/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ func CLIFlags(envPrefix string) []cli.Flag {
EnvVars: opservice.PrefixEnvVar(envPrefix, "SENDRAWTXCONDITIONAL_ENABLED"),
},
&cli.StringSliceFlag{
Name: SendRawTransactionConditionalBackendFlagName,
Usage: "block builder to broadcast conditional transactions",
EnvVars: opservice.PrefixEnvVar(envPrefix, "SENDRAWTXCONDITIONAL_BACKENDS"),
Name: SendRawTransactionConditionalBackendFlagName,
Usage: "block builder to broadcast conditional transactions",
Required: true,
EnvVars: opservice.PrefixEnvVar(envPrefix, "SENDRAWTXCONDITIONAL_BACKEND"),
},
&cli.Uint64Flag{
Name: SendRawTransactionConditionalRateLimitFlagName,
Expand Down

0 comments on commit ce2386d

Please sign in to comment.