This commit is contained in:
colinlyguo
2023-12-07 02:41:31 +08:00
parent f031c38890
commit 5936cd61d6
11 changed files with 49 additions and 53 deletions

View File

@@ -15,6 +15,7 @@ var (
&MetricsEnabled,
&MetricsAddr,
&MetricsPort,
&ServicePortFlag,
}
// RollupRelayerFlags contains flags only used in rollup-relayer
RollupRelayerFlags = []cli.Flag{
@@ -76,4 +77,10 @@ var (
Usage: "Import genesis batch into L1 contract during startup",
Value: false,
}
// ServicePortFlag is the port the service will listen on
ServicePortFlag = cli.IntFlag{
Name: "service.port",
Usage: "Port that the service will listen on",
Value: 8080,
}
)